Simple Game of Life for Qt5 with a small twist
Instead of the usual "fetch all neighbours around a cell", this implementation drags a 3x3 matrix around the grid
- Resizable grid
- View dragging (hold the right mouse button down)
- View zooming (spin the scroll wheel)
- Adjustable max speed for the automatic generation stepping
- Toggleable grid wrapping
- When enabled, have a glider hit the border and watch as it appears from the opposite side
- Basic C++17 build tools
- Qt5 Development tools
sudo apt install build-essential
sudo apt install qtcreator
sudo apt install qt5-default
cd tests
make test
cd build
qmake ../GameOfLife.pro
make
./GameOfLife
Alternatively you can just open the project file in Qt Creator and use that.
If there are any problems, please make sure you have a modern, C++17 compatible compiler. Tested with GCC 9.2.1.
sudo apt install doxygen
sudo apt install graphviz
doxygen doxygen.conf
The documentation main page is located at doc/html/index.html
src/
All of the code, excluding the tests.src/ui/
The code for the UI elements.tests/
The tests.ui/
The Qt Forms can be found in here.doc/
The documentation, generated when doxygen is run.build/
The build directory.screenshots/
A directory for screenshots.