/life

John Conway's Game of Life for Toon.

Primary LanguageQML

Toon Life

John Conway's Game of Life for your rooted Eneco Toon so you have this well known game on the wall.

The game has two modes.
A 'Wrap' mode where the opposite sites of the grid are connected so objects can move off screen and come back on the other side and a 'Wall' mode where objects run into the edge of the grid and can not go further.

For a first impression see the screenshots below. Note that the 'Home' button in the left upper corner is hidden while the game is alive. The 'Home' button comes back when you click the 'Pause Life' button.

You can select examples from a scrolling menu. One of the screenshots below shows there were 13 * examples when I created the app. The app gets the examples from a github repository in which I create new examples every now and then so you will see new examples appear in the app.
You can change the size of the grid and on Toon 2 the default offset where the examples are put on the screen. You may compose your own shape on the Life screen when you enable clicks.
When you have something nice you want me to add as an example go to https://github.com/JackV2020/appDataTest/tree/main/lifeData.

There is also a number of themes you can select from. The default is black and white. To select another theme you can click the 'Select Theme' button any time. When the game is alive it will pause so you can select a new theme. The Themes come from the same github repository so when you have a nice Theme you want me to add go to the same repository.

* Unfortunately Toon 1 is not as powerfull as Toon 2 so not all examples are available on Toon 1 and changing default offset is also available on Toon 2 only.

Install the app

This app is available in the Toon Store but when you want to do it manually :

- on Toon create a folder /qmf/qml/apps/life
- put everything or at least the qml files and the drawables folder in the life folder
- restart the GUI / reboot your Toon
- add a tile for 'Life' ( hand pushing a button )

Thanks for reading and enjoy the Game of Life.