3D Game of Life implementation in c++
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
seba e22b4910d5
Initial commit
15年前
.gitignore Initial commit 15年前
Makefile Initial commit 15年前
defaultfont.png Initial commit 15年前
example.fld Initial commit 15年前
gameoflife.cpp Initial commit 15年前
gameoflife.h Initial commit 15年前
libsegl.so.1 Initial commit 15年前
life.cpp Initial commit 15年前
readme.txt Initial commit 15年前
start.fld Initial commit 15年前
waves.fld Initial commit 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