This project was an introduction to my own private study of Machine Learning (ML) outside of education.
Conway's Game of Life (CGOL) is an interesting piece of cellular automota and I wanted to put my own spin on it.
I wanted to develop my own informal understanding of ML during the summer before continuing my formal education in the subject in September.
- Pygame
- Tensorflow
Install each of the above libraries.
Then run main.py.
Click the cells to switch them on or off. Clicking the input cell (left) will switch it from being alive to dead or vice versa. Same goes for the output cell (right).
Add cells like normal CGOL. If inputs were made on the RuleScreen, the ML model will be used to determine a cells state. Otherwise, standard CGOL rules will apply.
These were the stages of development:
- Create basic CGOL ran on the command line.
- Output to Pygame interface instead of the command line.
- Refactor CGOL so that it could be used on an infinite grid.
- Create a basic Machine Learning model.
- Create RuleScreen to create inputs for the ML model.
- Connect the model to the GameScreen if inputs were made.