Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
seba
9e185ce008
|
15 anni fa | |
---|---|---|
.gitignore | 15 anni fa | |
Makefile | 15 anni fa | |
defaultfont.png | 15 anni fa | |
example.fld | 15 anni fa | |
gameoflife.cpp | 15 anni fa | |
gameoflife.h | 15 anni fa | |
libsegl.so.1 | 15 anni fa | |
life.cpp | 15 anni fa | |
readme.txt | 15 anni fa | |
start.fld | 15 anni fa | |
waves.fld | 15 anni fa |
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