Skip to content
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

Improving the 2048 game #30

Open
CRImier opened this issue Dec 10, 2017 · 3 comments

Comments

Projects
None yet
1 participant
@CRImier
Copy link

commented Dec 10, 2017

The 2048 game (included in apps/games/g_2048/) could use some features; namely:

  • A prettier UI - going away from the text-based data output (using o.display_data()) and drawing a canvas instead, then passing it to o.display_image().
  • Currently, the game can't be continued once 2048 has been reached, it'd be good to allow it (and still acknowledge the endgame as a 'win' once the field is full) (done, thanks to @johanneskool )
  • Once the previous feature is done, highscores could be added. (done, thanks to @johanneskool )

@CRImier CRImier added the enhancement label Dec 10, 2017

@CRImier

This comment has been minimized.

Copy link
Author

commented Dec 10, 2017

Also, the game just feels too easy to get to 1024, for some reason. It's possible that there's some kind of constraint that needs to be added.

EDIT: added a chance of spawning 4 instead of 2, which made the game more complicated (and it's the way that other 2048 implementations seem to up the complexity)

@CRImier

This comment has been minimized.

Copy link
Author

commented Jan 6, 2018

BTW, thought about this - the game could use some kind of main menu, like:

  • "continue"
  • "start"
  • "highscores"
  • "exit"

once OK is pressed, instead of just having a DialogBox like we do now. That'd conform with the way that games on earlier mobile phones worked, and possibly make the code more readable&reusable, too!

@CRImier CRImier closed this Jan 6, 2018

@CRImier CRImier reopened this Jan 6, 2018

@CRImier

This comment has been minimized.

Copy link
Author

commented Jan 6, 2018

Accidentally closed, reopening

@CRImier CRImier added the help wanted label Jan 26, 2018

johanneskool added a commit to johanneskool/ZPUI that referenced this issue Feb 28, 2019

johanneskool added a commit to johanneskool/ZPUI that referenced this issue Feb 28, 2019

CRImier added a commit that referenced this issue Feb 28, 2019

Merge pull request #167 from johanneskool/fix-2048
Added highscores and fixed winning of 2048 game, partially fixes #30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.