1
0
Fork 0
3D Game of Life implementation in c++
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
seba 9e185ce008
added window title
15 anos atrás
.gitignore Initial commit 15 anos atrás
Makefile Initial commit 15 anos atrás
defaultfont.png Initial commit 15 anos atrás
example.fld Initial commit 15 anos atrás
gameoflife.cpp Fixed cleanup func pos (segfaults...) 15 anos atrás
gameoflife.h Added GPL 15 anos atrás
libsegl.so.1 Initial commit 15 anos atrás
life.cpp added window title 15 anos atrás
readme.txt Initial commit 15 anos atrás
start.fld Initial commit 15 anos atrás
waves.fld Initial commit 15 anos atrás

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