Yet another implementation of Conway's Game of Life
If you are using IntelliJ IDEA, you can import this repo using File > New > Project from Version Control... > Git
- Visual themes. There are three default themes, and you can add more
- Shortcuts. There are a number of keyboard shortcuts you can use to control the simulation
- Patterns. You can import structures in RLE format and then add them in just a few clicks
- Command line arguments. You can limit the field, start in windowed mode or specify the initial state
- Unfortunately, there are no ability to save current state/history in a file
CTRL- show control panel while pressedESC- toggle control panel visibilitySPACE- toggle simulation pauseW/S- control speed of simulationA/D- go back / forward in historyQ/E- rotate pattern
After first run, the folder GameOfLife will be automatically created.
To import game of life structures, create folder GameOfLife/patterns and put there a file with any name and your RLE as its contents.
It should have only RLE, without additional parameters (such as x = 3, y = 2, and so on) or comments.
So, finally your folder structure should look like this:
GameOfLife/
├───customization
├───themes/
└───patterns/
└───glider
And the glider file contents should be somthing like this:
bo$2bo$3o
--size <W> <H>or-s <W> <H>to limit the field with given Width and Height (in cells). This will also start the app in windowed mode--rleto specify initial state in RLE format, for example,--rle bo$2bo$3o