Du kannst nicht mehr als 25 Themen auswählen
Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
seba
9e185ce008
|
vor 15 Jahren | |
---|---|---|
.gitignore | vor 15 Jahren | |
Makefile | vor 15 Jahren | |
defaultfont.png | vor 15 Jahren | |
example.fld | vor 15 Jahren | |
gameoflife.cpp | vor 15 Jahren | |
gameoflife.h | vor 15 Jahren | |
libsegl.so.1 | vor 15 Jahren | |
life.cpp | vor 15 Jahren | |
readme.txt | vor 15 Jahren | |
start.fld | vor 15 Jahren | |
waves.fld | vor 15 Jahren |
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