1
0
mirror of https://github.com/danog/2048.git synced 2024-12-02 17:27:57 +01:00
Commit Graph

16 Commits

Author SHA1 Message Date
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
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
Gabriele Cirulli
b080e5300d add small code tweaks 2014-03-12 12:15:57 +01:00
Tim Petricola
d6da8d9925 localStorage fallback 2014-03-11 11:52:02 -04: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
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