
This is a little python app collection and infrastructure to switch between apps and keep them running at all.
It's used on a touchscreen with a Raspberry Zero W 2 and intended to be used without keyboard or mouse.
It uses pygame as main graphics driver and will be extended from time to time, to implement stuff which is needed by some Apps, like pairing a Bluetooth-device or connecting to WLANs.
Control it completely with touch/mouse. To quit, just press any key on the keyboard.
NOTE: You have to change the HOME_PATH in MAIN.py because this is in development and the path changes from time to time.
Just browse on https://pi-shop.ch for this parts:

[HowTo] Installing and using this scripts like I did it.
[MAIN] The main file which you start with python.
[AppList.json] List with the directories of all apps you want to have "installed". The import calls refer to this list.
[APP_TEMPLATE] An App template which you can use to develop your own App.
[UITools] Some helper vars and functions concerning the user interface. Used almost everywhere.
[APP_BASE] This file holds the whole system and the base application class from which the App classes are derived from.
[APP_MENU] From this menu app you can call all other apps. For example. And do other stuff with it.
Now come the fun Apps:
[APP_Face] A robot face. The App that I used as "system app" for a long time. This was the first App ever made for this system.
[APP_Draw] A simple drawing App.
[APP_BeRec2] The music player App. (Version 1, not used anymore, see [APP_Berec3])
[APP_GAME_Breakout] A Breakout game App for one player.
[APP_GAME_Chess] A chess game App for two players.
[APP_GAME_UpgradeChess] An "Upgrade Chess" game App for two players.
[APP_GAME_Mill] A mill game App for two players.
[APP_GAME_Checkers] A checkers game App for two players.
[APP_GAME_TicTacToe] A TicTacToe game App for two players.
[APP_GAME_Monopoly] A simple Monopoly game App for 2 to 9 players.
Code libraries are located in appdata/CodeLibs and (the new) UI elements are located in appdata/CodeLibs/UI.
CodeLibs:
[LIB_AUDIO] A library/wrapper concerning sounds and music.
[LIB_BLUETOOTH] NOT USED YET.
[LIB_FOPS] A library concerning File OPerationS.
UI Elements
[UI_BUTTON] Library for buttons with images (normal and mouseover) and also circular buttons.
[UI_LIST] Create scrollable list boxes with list items which can execute a function with a value. Used in the Music Player.
Wiki: APP_BASE
Wiki: APP_BeRec2
Wiki: APP_Berec3
Wiki: APP_Draw
Wiki: APP_Face
Wiki: APP_GAME_Breakout
Wiki: APP_GAME_Chess
Wiki: APP_GAME_UpgradeChess
Wiki: APP_MENU
Wiki: APP_TEMPLATE
Wiki: AppList.json
Wiki: Complex Main Example
Wiki: HowTo
Wiki: LIB_FOPS
Wiki: MAIN
Wiki: UITools
Wiki: UI_LIST