An implementation of conway's game in Elm.
This is my submission to IT-Talents corresponding code competition.
Assuming that docker (at least version 17.04) and docker-compose are installed, you could simply execute:
docker-compose up
Now point your browser to http://localhost:8080, where the application is running.
This command will use a multi stage build to:
- compile the source code
- execute the tests
- bundle the application
- start a webserver which delivers the webapp on port 8080
Assuming that npm and git are installed, you could simply execute:
npm start
This starts a dev-server with hot reloading usually on port 8080, hence you could point your browser to http://localhost:8080.
I have added some advanced features.
There exists a 10 step Tutorial which describes the rules of the game and some key features of this application.
With navigation buttons (the arrows left and right from the board) you could step manually through single generations.
Do you know some interesting patterns in Conway's game of life? No Problem if not, since I have included a list of famous patterns from wikipedia. Simply have a look and choose a pattern if you like to try it:
Sometimes you want to know why a certain cell died or become alive.
Since this is completely determined by the neighbourhood of a cell, you could investigate the restrained marking of those:
This feature comes in handy together with time travel.
Shows mainly continuous integration related informations:
Simply configure the size of the board (Width, Height) and the speed of the auto-play-mode.