Added gitignore, fixed print routine
Had mixed up Y with X in some for loops, this caused the printing to be messed up on anything but square grids. Now grid generation and printing is complete, have to start implementing the actual life algorithm next. Also added .gitignore with cmake and c defaults
This commit is contained in:
parent
9c67c06b7d
commit
63e79c2527
3 changed files with 122 additions and 29 deletions
6
CMakeLists.txt
Normal file
6
CMakeLists.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
cmake_minimum_required(VERSION 3.10)
|
||||
|
||||
project(conway)
|
||||
|
||||
add_executable(conway conway.c)
|
||||
target_compile_options(conway PUBLIC -ggdb -O0 -Wall)
|
Loading…
Add table
Add a link
Reference in a new issue