wasp-os/wasp/boards/manifest_240x240.py
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

34 lines
788 B
Python

# SPDX-License-Identifier: LGPL-3.0-or-later
# Copyright (C) 2020 Daniel Thompson
"""Shared manifest for applications that work well on a 240x240 display."""
manifest = (
'apps/alarm.py',
'apps/calc.py',
'apps/clock.py',
'apps/chrono.py',
'apps/fibonacci_clock.py',
'apps/flashlight.py',
'apps/gameoflife.py',
'apps/haiku.py',
'apps/heart.py',
'apps/musicplayer.py',
'apps/launcher.py',
'apps/pager.py',
'apps/play2048.py',
'apps/settings.py',
'apps/software.py',
'apps/steps.py',
'apps/stopwatch.py',
'apps/snake.py',
'apps/testapp.py',
'apps/timer.py',
'fonts/__init__.py',
'fonts/clock.py',
'fonts/sans24.py',
'fonts/sans28.py',
'fonts/sans36.py',
'icons.py',
'widgets.py',
)