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

33 Commits

Author SHA1 Message Date
Gabriele Cirulli
e729f7457f bring container margin top into variable and reduce it on mobile 2014-03-22 17:28:14 +01:00
Gabriele Cirulli
560859fcd9 restyle new game button to put it on the right side of the introduction 2014-03-22 17:00:50 +01:00
Gabriele Cirulli
bd7f8963d0 Merge branch 'resume-game' of github.com:mfrederiksen/2048 into mfrederiksen-resume-game 2014-03-22 15:35:51 +01:00
Gabriele Cirulli
2056ed480d Merge branch 'WP_touch_events' of github.com:elektryk/2048 into elektryk-WP_touch_events 2014-03-19 14:42:12 +01:00
Mark Frederiksen
02a24c0610 Added persistence of game state to localstorage after each move
Added rebuilding of game state from localstoage on page load
Added New Game button to allow game restarts now that refreshes resume the game
2014-03-18 14:48:55 -04:00
Gabriele Cirulli
01264c3252 set mobile threshold slightly wider than the board size 2014-03-14 18:31:04 +01:00
Gabriele Cirulli
f663e17a4b add styling for super tiles 2014-03-14 13:50:49 +01:00
Gabriele Cirulli
a831baed58 merge infinite game 2014-03-14 13:22:29 +01:00
Gabriele Cirulli
74494bb5f5 modify the game to allow using transforms 2014-03-13 23:11:02 +01:00
Marcin Gajda
7f187251a8 Windows Phone touch events 2014-03-13 20:27:09 +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
886712cc8e add basic css transform positions 2014-03-12 15:40:49 +01:00
Gabriele Cirulli
385b65d086 mobile tweaks for best score 2014-03-12 12:55:40 +01: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
Gabriele Cirulli
92fda72cf5 move button styles to mixin 2014-03-11 15:18:20 +01: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
433127cd93 remove use of class list in actuator, fix animations for firefox 2014-03-10 18:03:43 +01:00
Gabriele Cirulli
46813070ac add container around sharing functionality 2014-03-10 12:07:11 +01:00
Gabriele Cirulli
02b66ccb9b add retry button 2014-03-10 11:31:10 +01:00
Gabriele Cirulli
378ca283f2 increase padding on score 2014-03-09 23:59:53 +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
b20e26e3bd implement tile movement 2014-03-09 14:32:30 +01:00
Gabriele Cirulli
fd2927c37c add game explanation, remove test tiles 2014-03-05 23:15:57 +01:00
Gabriele Cirulli
43aaf123a0 mix colors with optional predefined colors for each tile 2014-03-05 18:50:32 +01:00
Gabriele Cirulli
71122e1f64 reduce glow opacity 2014-03-05 17:35:55 +01:00
Gabriele Cirulli
3f6f06e2df fade tile text to white 2014-03-05 17:34:04 +01:00
Gabriele Cirulli
61f20acec6 adjust font sizes, add transition and cursor states 2014-03-05 17:02:54 +01:00
Gabriele Cirulli
5e41f41a69 generate tile colors automatically 2014-03-05 16:33:31 +01:00
Gabriele Cirulli
a26e1c6bbd rename style.scss to main.scss 2014-03-05 16:10:54 +01:00