Conway's game of life made in C++ using SFML
This is my first C++ project.
- Get a c++ compiler(on Ubuntu/Ubuntu based distros :
sudo apt install build-essential
) - Get SFML binaries(or you may build from it's source) goto https://www.sfml-dev.org/download.php and download the appropriate file.
- Extract
SFML-2.5.1-linux-gcc-64-bit.tar.gz
- Copy the contents of
SFML-2.5.1/lib/
to/usr/lib
- Copy the extracted folder
SFML-2.5.1
to this repo. - Run the script
build-and-run.sh
by using this command../build-and-run.sh
- This will create a executable called
gameoflife
. - You can run this any time but just double-clicking it.
- This will create a executable called
https://www.sfml-dev.org/tutorials/2.5/start-vc.php
(They have explained most of the steps very well. I would highly encourage you to read it.)
https://www.sfml-dev.org/tutorials/2.5/start-osx.php
(They have explained most of the steps very well. I would highly encourage you to read it.)