8 Commits

Author SHA1 Message Date
2ae1a81b6a Parse command line arguments 2020-10-23 11:22:47 +02:00
75588b85cd Comments and minor fix 2020-10-21 18:49:03 +02:00
8015d16dac Macro for number of generations 2020-10-21 18:30:07 +02:00
1ad10e00d1 Add readme 2020-10-21 18:27:49 +02:00
56d89d800a Remove unnecessary includes
These were accidentally included when copying the structure over from another project
2020-10-21 18:27:24 +02:00
0d622d5852 More optimizations
Inlined some functions (compiler probably did this anyways)

Use bool array instead of char array (speeds up neighbor calculation)

Manually handle x=0 and x=size_x-1 because this prevents a lot of if-checks
2020-10-21 18:20:30 +02:00
8a48e00d17 Time measurement + basic optimizations 2020-10-21 16:29:49 +02:00
d9f7e6ab5a Game itself is functional and correct 2020-10-21 15:23:10 +02:00