This project displays Conway's game of life using C++ and SFML.
.vscodecontains my vs code configuration. You might want to use your own.releasecontains all the dlls and main.exe required to run the program on a windows machine.- Under this folder we have
main.exe. Double click on this and run the game. - All other are required dll files necessary to run the game and must be present in the same folder.
- Under this folder we have
srcfolder contains the active working directory.custom_headerscontain the custom header files made for the project.execcontains the most recent executable along with dll and ilk and other stuff generated by the compiler.objcontains the intermediate object files that are generated by the compiler.main.cppcontains the main run code.onion.pyis a small python script I wrote to automate my repetitive tasks. Following are the commands which can be run from cmd from the project root dir.python onion.py make debug: Compiles the code and puts the executable intoexecand object files intoobjfolderpython onion.py make release: Copies the recently compiled executable from exec into release folder. If executable does not exist then run the debug build then copies.python onion.py run debug: Runs the executable in the debug folder.python onion.py run release: Runs the executable in the release folder.python onion.py pack debug: Packs the src folder into a zip.python onion.py pack release: Packs the release folder into a zip.
release_pack.zipis zipped version of release folder.src_pack.zipis zipped version of src folder.
- Install the SFML library and edit the library path in the
.vscodefolder and in theonion.pyscript also. - Install Visual Studio and C/C++ tools along with it.
- Install the C/C++ extension from Microsoft in VS Code.
- Run
Developer Command Prompt for the Visual Studiofor the32-bit architecture. - Change the directory to the project directory.
- Run
code .command. - Now you are ready to work with the project.
To simply run the game just donwload the release pack, extract it and run the main.exe

