30 Commits

Author SHA1 Message Date
Gabriele Cirulli cf01ca7e8b manually apply #81 2014-03-23 19:51:29 +01:00
Gabriele Cirulli 10c72a76b3 rename tile-gold to tile-super 2014-03-14 13:35:42 +01:00
Gabriele Cirulli 5392893cd6 rename GameOver to GameTerminated to avoid ambiguity 2014-03-14 13:34:05 +01:00
Gabriele Cirulli cfbf74905f refactor code 2014-03-14 13:27:57 +01:00
Gabriele Cirulli a831baed58 merge infinite game 2014-03-14 13:22:29 +01:00
Gabriele Cirulli f943d2a745 Merge pull request #42 from david-risney/fix-try-again-bug
Ensure the Try Again button actually disappears when selected in IE
2014-03-14 00:03:59 +01:00
Gabriele Cirulli 74494bb5f5 modify the game to allow using transforms 2014-03-13 23:11:02 +01:00
Laurent Margirier 9626e2b060 Endless Game. Allow user to continue the game.
- main.css isn't compiled
- a special class `.tile-gold` is added to tiles above 2048
2014-03-13 10:16:19 +01:00
Dave Risney 472e30cd35 Ensure the Try Again button actually disappears when selected in Internet Explorer 2014-03-12 20:17:03 -07:00
Gabriele Cirulli d9fef6095f remove analytics from master branch 2014-03-12 13:04:16 +01:00
Gabriele Cirulli b080e5300d add small code tweaks 2014-03-12 12:15:57 +01:00
Gabriele Cirulli 39ebf51ce2 fix merge conflict 2014-03-12 11:23:22 +01:00
Grégory HOULLIER 95a2676b3b Use querySelector instead of getElementsByClassName 2014-03-12 08:59:12 +01:00
Tim Petricola d6da8d9925 localStorage fallback 2014-03-11 11:52:02 -04:00
Tim Petricola fda0e8405f Fix win/over in local 2014-03-10 17:18:54 -04:00
Gabriele Cirulli 5a49a0ef91 add basic iphone support 2014-03-10 21:31:41 +01:00
Tim Petricola 664546ef9a Store best score in localStorage
Dependency injection and hide best score for incompatible browsers
2014-03-10 16:21:05 -04:00
Gabriele Cirulli 57deb5d998 move event send after type definition 2014-03-10 19:38:46 +01:00
Gabriele Cirulli 433127cd93 remove use of class list in actuator, fix animations for firefox 2014-03-10 18:03:43 +01:00
Gabriele Cirulli ce33401d05 remove analytics from master 2014-03-10 11:32:04 +01:00
Gabriele Cirulli 02b66ccb9b add retry button 2014-03-10 11:31:10 +01:00
Gabriele Cirulli e65111f13b add win condition 2014-03-09 23:43:56 +01:00
Gabriele Cirulli 4b3055fcd0 add movement check, score addition 2014-03-09 23:24:17 +01:00
Gabriele Cirulli f18f7cee22 add score and endgame 2014-03-09 23:03:13 +01:00
Gabriele Cirulli 53e08722e0 add tile merging 2014-03-09 20:03:04 +01:00
Gabriele Cirulli efa2af59a2 remove debug logging 2014-03-09 17:32:02 +01:00
Gabriele Cirulli b20e26e3bd implement tile movement 2014-03-09 14:32:30 +01:00
Gabriele Cirulli b7476f1f62 make actuator properly create html elements 2014-03-08 13:32:37 +01:00
Gabriele Cirulli dca5207fa4 extract the grid to its own class 2014-03-08 13:10:54 +01:00
Gabriele Cirulli cf31e146aa basic grid implementation with initial setup 2014-03-08 12:50:45 +01:00