diff --git a/docs/tutorial-game-00.md b/docs/tutorial-game-00.md index 1a1f9f7..18737b3 100644 --- a/docs/tutorial-game-00.md +++ b/docs/tutorial-game-00.md @@ -136,7 +136,7 @@ Here we define a method `runTestMatch` that sets up a match to test the `Choose2 Choose2Win.runTestMatch = function runTestMatch(players) { players = players || [new ludorum.players.RandomPlayer(), new Choose2WinPlayer()]; var match = new ludorum.Match(new Choose2Win(), players); - match.events.on('move', function (game, moves) { + match.events.on('next', function (game, moves) { console.log(game +'\tmoves: '+ JSON.stringify(moves)); }); match.events.on('end', function (game, result) { @@ -158,4 +158,4 @@ What we've seen is all the code necessary to implement a really simple game and [Next - A simple deterministic turn-based game: _TicTacToe_](tutorial-game-01.md.html) -_By [Leonardo Val](http://github.com/LeonardoVal)_. \ No newline at end of file +_By [Leonardo Val](http://github.com/LeonardoVal)_.