No puede seleccionar más de 25 temas
Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
seba
e22b4910d5
|
hace 15 años | |
---|---|---|
.gitignore | hace 15 años | |
Makefile | hace 15 años | |
defaultfont.png | hace 15 años | |
example.fld | hace 15 años | |
gameoflife.cpp | hace 15 años | |
gameoflife.h | hace 15 años | |
libsegl.so.1 | hace 15 años | |
life.cpp | hace 15 años | |
readme.txt | hace 15 años | |
start.fld | hace 15 años | |
waves.fld | hace 15 años |
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