Code Monkey home page Code Monkey logo

life's Introduction

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.

life's People

Contributors

jackv2020 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.