Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
seba
9e185ce008
|
il y a 15 ans | |
---|---|---|
.gitignore | il y a 15 ans | |
Makefile | il y a 15 ans | |
defaultfont.png | il y a 15 ans | |
example.fld | il y a 15 ans | |
gameoflife.cpp | il y a 15 ans | |
gameoflife.h | il y a 15 ans | |
libsegl.so.1 | il y a 15 ans | |
life.cpp | il y a 15 ans | |
readme.txt | il y a 15 ans | |
start.fld | il y a 15 ans | |
waves.fld | il y a 15 ans |
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