Commit Graph

44 Commits

Author SHA1 Message Date
Gabriele Cirulli a831baed58 merge infinite game 2014-03-14 13:22:29 +01:00
Gabriele Cirulli 2bf48efe68 change local storage support check 2014-03-14 12:33:32 +01:00
codeKonami 9274840ced adding a test to verify the localStorage is supported fixing a bug on private browsing on safari 2014-03-14 14:25:26 +13: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 bd62716d60 add touchend event (see PR #32) 2014-03-13 10:17:57 +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
G. Bodenschatz fc6206ab39 [BUGFIX] Add touch event handler for retry button 2014-03-12 18:03:11 +01:00
Gabriele Cirulli 608ca2844b improve code structure in localscoremanager 2014-03-12 13:35:42 +01:00
Gabriele Cirulli 88278792be small change in scoremanager 2014-03-12 13:31:09 +01: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
Gabriele Cirulli f251f5c898 remove hammer, small js changes 2014-03-11 22:18:56 +01:00
Chris Price cf4087e87d Replace hammer with touch event handling 2014-03-11 20:34:47 +00:00
Tim Petricola 77654452a7 Merge remote-tracking branch 'upstream/master' into best-score
Conflicts:
	index.html
	js/application.js
	js/html_actuator.js
2014-03-11 12:05:42 -04:00
Tim Petricola d6da8d9925 localStorage fallback 2014-03-11 11:52:02 -04:00
Gabriele Cirulli 5c6327f390 add WASD controls (closes #10) 2014-03-11 16:31:39 +01:00
Gabriele Cirulli d2315af2ec add requestanimationframe polyfill 2014-03-11 14:48:42 +01:00
Gabriele Cirulli 53b0bd2e17 move scripts to bottom of body 2014-03-11 14:30:09 +01: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 e4476b44e0 remove debug printing 2014-03-10 20:45:43 +01:00
Gabriele Cirulli c0ca375c3a properly ignore meta keys 2014-03-10 20:42:03 +01:00
Gabriele Cirulli 57deb5d998 move event send after type definition 2014-03-10 19:38:46 +01:00
Gabriele Cirulli a422799481 Merge pull request #2 from rayhaanj/master
Add vim keybindings
2014-03-10 18:58:36 +01:00
Gabriele Cirulli b3c822c7d5 add swipe gesture support 2014-03-10 18:47:21 +01:00
rayhaanj fb8eabe9b0 Added vim keybindings 2014-03-10 17:33:58 +00: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 a1e98e0d86 press space to restart 2014-03-10 12:29:35 +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