You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
seba
9e185ce008
|
преди 15 години | |
---|---|---|
.gitignore | преди 15 години | |
Makefile | преди 15 години | |
defaultfont.png | преди 15 години | |
example.fld | преди 15 години | |
gameoflife.cpp | преди 15 години | |
gameoflife.h | преди 15 години | |
libsegl.so.1 | преди 15 години | |
life.cpp | преди 15 години | |
readme.txt | преди 15 години | |
start.fld | преди 15 години | |
waves.fld | преди 15 години |
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