An open API service indexing awesome lists of open source software.

https://github.com/c1m50c/cellular-automata

Python project implementing Conway's Game of Life with PyGame.
https://github.com/c1m50c/cellular-automata

cellular-automata conways-game-of-life grid mit-license pygame python python3 simulation

Last synced: 7 months ago
JSON representation

Python project implementing Conway's Game of Life with PyGame.

Awesome Lists containing this project

README

          

# **cellular-automata**
Python project implementing Conway's Game of Life with PyGame.

![Preview Image](https://raw.githubusercontent.com/c1m50c/cellular-automata/assets/preview.gif)

---

## **Requirements**
```bash
$ cd cellular-automata
$ pip3 install -r requirements.txt
```

## **Running**
```bash
$ cd cellular-automata
$ python3 src/main.py
```

---

## **Keybinds**
### Mouse
- **LEFT_MOUSE** - Places a cell at the mouse position
- **RIGHT_MOUSE** - Removes the cell at the mouse position
### Keyboard
- **SPACE** - Toggles the Simulation
- **ESCAPE** - Stops the Simulation
- **BACKSPACE** - Removes all cells within the Grid
- **G** - Toggles Grid Lines