xpac27 / pony-gameoflife

Conway's Game of Life written in Pony

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pony Game of Life

This is a learning exercice writing Conway's Game of Life in Pony.

Screenshot

Usage

clone

git clone https://github.com/xpac27/pony-gameoflife.git
cd pony-gameoflife
git submodule update --init

compile

ponyc

then run the executable

./pony-gameoflife

and click to spawn more cells.

Settings

  • Lower swap_interval in Renderer.pony to speed up the simulation, 1 means in sync with monitor
  • Change scale in Game.pony to change the simulation's resolution, higher means more cells

About

Conway's Game of Life written in Pony


Languages

Language:Pony 98.8%Language:GLSL 1.2%