3D Game of Life implementation in c++
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
seba 9e185ce008
added window title
pirms 15 gadiem
.gitignore Initial commit pirms 15 gadiem
Makefile Initial commit pirms 15 gadiem
defaultfont.png Initial commit pirms 15 gadiem
example.fld Initial commit pirms 15 gadiem
gameoflife.cpp Fixed cleanup func pos (segfaults...) pirms 15 gadiem
gameoflife.h Added GPL pirms 15 gadiem
libsegl.so.1 Initial commit pirms 15 gadiem
life.cpp added window title pirms 15 gadiem
readme.txt Initial commit pirms 15 gadiem
start.fld Initial commit pirms 15 gadiem
waves.fld Initial commit pirms 15 gadiem

readme.txt

Conway's "Game of Life" in 2d/3d

written by seba (www.seba-geek.de)

- Write a field-file
Begin with a header in the first line
<x (width)> <y (height)> <torus>
For example "21 21 1" would be a 21x21 field torus

After the header follows the field-definition,
col => x-axis, row => y-axis
0 is a dead cell
1 is a living cell

Look at the example.fld for further explaination


- Controls
t Toggle 2d/3d mode
p Pause
o Toggle OSD
e Toggle Edit-Mode
Move with shift + arrows
Toggle fieldstate withs Space
Clear field with shift + c
b Toggle buildup of cells
-/+ In- or decrease speed