-
Notifications
You must be signed in to change notification settings - Fork 17k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Endless Mode #6
Comments
Hey! This seems like a nice idea but probably requires a bit of ground work. As far as I know, @marg51 should be working on this, so I'm going to wait until we hear from him! |
That sounds perfect. Elegant solution.
|
Add a button to keep playing after user has won. A state `keepPlaying` is added to GameManager, and is true when user clicked on the button "keepPlaying", default to false. Closes gabrielecirulli#6
I like that solution as well. Very elegant, and removes the need to have checkboxes and other things laying around. I'd say the only thing left to figure out is what color to use on tiles above 2048 and up to what tile it makes sense to build styles. I think we could go with a special color for tiles above 2048 to make it feel "elite", but we should also run some calculations to figure out what tile is likely to never be seen and end support there. It shouldn't cost much to add styles up to 65536. I doubt anyone will get up to that point, and if they do, they should probably invest some time in getting their life back together 😄 |
@gabrielecirulli you could switch over to another color style from that point forward. |
Any ideas over specific colors? I tried to use warm colors for all the tiles, so it might be good to continue on that pattern. |
Maybe just step towards #000000 or #ffffff from the 2048 tile's color. |
That could work. |
Please add an easter egg if you "lose" with tiles: 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16385, 32768, 65536. Even if only by cheating :) |
There are conflicts with my code and PR 3 (LocalStorage). |
I'm merging #3 at the moment, with some tweaks. Should be up in a bit. You could try merging again after that. |
Master is now up to date |
Thanks for this nice improvement ! When will it be avalaible on http://gabrielecirulli.github.io/2048/ ? |
Now included in the game |
Please add a checkbox for "Endless Mode" where reaching 2048 is just another number and you are allowed to continue playing.
This should probably be differentiated in the pre-populated tweet so as to differentiate it from normal "2048" mode.
The text was updated successfully, but these errors were encountered: