Conway's Game of Life in C++.
Compiling and running on Windows and Linux (probably other Unix-like systems too)
Allows:
- setting custom rules
- drawing a board using a mouse
- saving a board to a text file or an image (PNG, BMP, TGA)
- loading a board from a text file or an image (PNG, BMP, TGA)
- changing colors of the game
- setting a background of the game
cmake -B build
make -C build
sudo make -C build install
cmake -B build
make -C build AppImage
cmake . -G "MinGW Makefiles"
mingw32-make
Run by typing game-of-life into terminal.
Type in game-of-life -h to see allowed options.
Press tab if you want to stop simulation and draw blocks of board using mouse.
Press Enter or Tab to start end drawing and start simulation.
End simulation by pressing Escape.