Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Showcase / Conway's Game of Life
- By jahmaican Date 2014-05-14 18:34 Edited 2014-05-15 19:00
So, this is my attempt on implementing Game of Life. It's not great, but at least looks quite good (because GRADIENTS!).

Things to try:

toad
■ □
■ ■
■ ■
□ ■

glider
■ ■ ■
■ □ □
□ ■ □

crocodile
□ □ ■ □ □ □ □ ■ □ □
■ ■ □ ■ ■ ■ ■ □ ■ ■
□ □ ■ □ □ □ □ ■ □ □

this might not have a name but becomes huge and pretty
□ ■ □
■ ■ ■
■ □ ■

this eventually spawns 12 gliders
□ □ ■ □ □
□ ■ □ ■ □
□ ■ □ ■ □
□ ■ □ ■ □
■ ■ ■ ■ ■

Have fun!

Controls:
LMB - add/remove cell
Space - start/pause simulation
R - clear
Escape - exit

Github: HERE
Up Topic Gosu / Gosu Showcase / Conway's Game of Life

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill