1
0
mirror of https://github.com/danog/2048.git synced 2024-12-14 10:17:34 +01:00
Commit Graph

33 Commits

Author SHA1 Message Date
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