1
0
Fork 0
wasp-os/wasp/boards
Miguel Rochefort ffff5ae52b apps: play2048: Add the 2048 game application
2048 is a popular sliding block puzzle game in which tiles are combined
to make the number 2048.

It's one of the few games that are enjoyable to play on such a small
form factor.

This started as a port of a TkInter implementation of the 2048 game. I
implemented all of the TkInter APIs used by the game and it worked on
wasp-os without any code change in the game. However, the performance
was very poor and it consumed too much RAM. I have since reimplemented
the whole game from scratch and managed to achieve acceptable
performance, although more improvements could still be made.

Because names in Python can't start with numbers, I had some trouble
naming things. The module is called "ttfe" (two-thousand-forty-eight),
the class name is Play2048App, and the software.py entry is "Play 2048".

Signed-off-by: Miguel Rochefort <miguelrochefort@gmail.com>
[daniel@redfelineninja.org.uk: Renamed the python filename, normalized
the screenshot and included the app in the docs]
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2021-01-10 18:14:36 +00:00
..
dsd6 dsd6, nitrogen: Make them build again 2020-06-17 21:35:19 +01:00
k9 apps: testapp: Automatically report free memory 2020-12-13 16:07:24 +00:00
nitrogen dsd6, nitrogen: Make them build again 2020-06-17 21:35:19 +01:00
p8 apps: testapp: Automatically report free memory 2020-12-13 16:07:24 +00:00
pinetime apps: testapp: Automatically report free memory 2020-12-13 16:07:24 +00:00
simulator simulator: tests: Update after renaming the stopwatch app 2021-01-10 16:07:15 +00:00
sphinx widgets: ConfirmationView: Adopt the button widget 2021-01-10 10:34:37 +00:00
manifest_240x240.py apps: play2048: Add the 2048 game application 2021-01-10 18:14:36 +00:00