diff options
Diffstat (limited to 'examples/declarative/tutorials/samegame/samegame4/content')
-rwxr-xr-x | examples/declarative/tutorials/samegame/samegame4/content/samegame.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/declarative/tutorials/samegame/samegame4/content/samegame.js b/examples/declarative/tutorials/samegame/samegame4/content/samegame.js index f88b428..a905f7d 100755 --- a/examples/declarative/tutorials/samegame/samegame4/content/samegame.js +++ b/examples/declarative/tutorials/samegame/samegame4/content/samegame.js @@ -48,6 +48,8 @@ function initBoard() createBlock(column,row); } } + + timer = new Date(); } var fillFound;//Set after a floodFill call to the number of tiles found @@ -150,7 +152,6 @@ function victoryCheck() if(deservesBonus || !(floodMoveCheck(0,maxRow-1, -1))){ timer = new Date() - timer; nameInputDialog.show("You won! Please enter your name: "); - //dialog.show("Game Over. Your score is " + gameCanvas.score); } } |