wasp-os/wasp/apps
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
..
alarm.py apps: alarm: add a full colour icon 2020-12-29 20:14:13 +00:00
calc.py apps: calc: Use the UI colours to generate a background 2020-12-31 19:26:34 +00:00
chrono.py manager: Recategorize the theme labels for apps 2020-12-31 19:22:54 +00:00
clock.py manager: Recategorize the theme labels for apps 2020-12-31 19:22:54 +00:00
demo.py apps: demo: Move the logo into the demo app 2020-05-17 14:37:44 +01:00
fibonacci_clock.py docs: Add an Application Library chapter 2020-11-08 14:28:38 +00:00
flashlight.py apps: software: Add an apps to enable/disable other apps 2021-01-03 14:54:34 +00:00
gameoflife.py docs: Add an Application Library chapter 2020-11-08 14:28:38 +00:00
haiku.py apps: haiku: Add a simple Haiku viewer 2020-10-10 12:12:59 +01:00
heart.py apps: heart: Use theme colours for text labels 2021-01-03 14:46:47 +00:00
hello.py docs: Introduce the Application Writer's Guide. 2020-05-11 21:44:30 +01:00
launcher.py apps: launcher: Use theme colours for text labels 2021-01-03 14:46:58 +00:00
musicplayer.py apps: music: Update the application icon 2021-01-10 15:17:27 +00:00
pager.py widgets: ConfirmationView: Adopt the button widget 2021-01-10 10:34:37 +00:00
play2048.py apps: play2048: Add the 2048 game application 2021-01-10 18:14:36 +00:00
settings.py apps: settings: Use theme colours for text labels 2021-01-03 14:47:23 +00:00
snake.py apps: snake: Update artwork 2020-12-28 10:08:15 +00:00
software.py apps: play2048: Add the 2048 game application 2021-01-10 18:14:36 +00:00
steps.py manager: Recategorize the theme labels for apps 2020-12-31 19:22:54 +00:00
stopwatch.py apps: timer: Add a countdown timer application 2021-01-10 16:02:35 +00:00
template.py docs: Introduce the Application Writer's Guide. 2020-05-11 21:44:30 +01:00
testapp.py apps: software: Add an apps to enable/disable other apps 2021-01-03 14:54:34 +00:00
timer.py apps: timer: Add a countdown timer application 2021-01-10 16:02:35 +00:00