Skip to content

PandeCode/gameOfLife

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conway's Game of life cli

Building

git clone https://github.com/PandeCode/gameOfLife/
cd gameOfLife
cmake -D CMAKE_EXPORT_COMPILE_COMMANDS=ON -S . -B Debug && ln -s ./Debug/compile_commands.json ./compile_commands.json  
cmake --build Debug/

Examples

./Debug/bin/gameOfLife -f states/oscillators/beacon.gol
./Debug/bin/gameOfLife -f states/oscillators/blinker.gol
./Debug/bin/gameOfLife -f states/oscillators/penta_decathlon.gol
./Debug/bin/gameOfLife -f states/oscillators/pulsar.gol
./Debug/bin/gameOfLife -f states/oscillators/toad.gol

./Debug/bin/gameOfLife -f states/space_ships/glider.gol
./Debug/bin/gameOfLife -f states/space_ships/heavyWeightSpaceship.gol
./Debug/bin/gameOfLife -f states/space_ships/lightWeightSpaceship.gol
./Debug/bin/gameOfLife -f states/space_ships/middleWeightSpaceship.gol

./Debug/bin/gameOfLife -f states/still_life/bee_hive.gol
./Debug/bin/gameOfLife -f states/still_life/block.gol
./Debug/bin/gameOfLife -f states/still_life/boat.gol
./Debug/bin/gameOfLife -f states/still_life/loaf.gol
./Debug/bin/gameOfLife -f states/still_life/tub.gol

About

Conway's game of life cli

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published