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:
A.M. Rowsell 2023-05-28 15:25:50 -04:00
commit 63e79c2527
Signed by: amr
GPG key ID: 0B6E2D8375CF79A9
3 changed files with 122 additions and 29 deletions

6
CMakeLists.txt Normal file
View 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)