ffff5ae52b
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>
46 lines
758 B
ReStructuredText
46 lines
758 B
ReStructuredText
.. _Application Library:
|
|
|
|
Application Library
|
|
===================
|
|
|
|
.. contents::
|
|
:local:
|
|
|
|
Built-in
|
|
--------
|
|
|
|
The built-in application are summarised below but because these apps are
|
|
treated as examples they are described in detail as part of the
|
|
:ref:`Wasp-os Reference Manual`:
|
|
|
|
* :py:class:`.ClockApp`
|
|
* :py:class:`.FlashlightApp`
|
|
* :py:class:`.LauncherApp`
|
|
* :py:class:`.PagerApp`
|
|
* :py:class:`.TestApp`
|
|
* :py:class:`.TemplateApp``
|
|
|
|
Watch faces
|
|
-----------
|
|
|
|
.. automodule:: apps.chrono
|
|
|
|
.. automodule:: apps.fibonacci_clock
|
|
|
|
Games
|
|
-----
|
|
|
|
.. automodule:: apps.gameoflife
|
|
|
|
.. automodule:: apps.play2048
|
|
|
|
.. automodule:: apps.snake
|
|
|
|
Integration
|
|
-----------
|
|
|
|
.. automodule:: apps.alarm
|
|
|
|
.. automodule:: apps.musicplayer
|
|
|
|
.. automodule:: apps.timer
|