rdiachenko / life

Conway's Game of Life - http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Life

The project represents different variations of Conway's Game of Life.

C++ Life

Youtube video is here and here (with interesting effect)

How to run

# install SDL and its dependencies
$ sudo yum install SDL*

$ cd cpp-life
$ make

# see help
$ ./life -h
Usage: 
<MOUSE_LEFT_CLICK> - turn cell on
<MOUSE_RIGHT_CLICK> - turn cell off
<SPACE> - pause/resume
<ESC> - clear field

$ ./life

To play with the game parameters go to cpp-life/Constants.h.

Scala-Life

How to run

# install sbt and its dependencies
$ sudo yum install sbt

# compile and run the Game of Life
$ cd scala-life
$ sbt clean compile run

About

Conway's Game of Life - http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life

License:MIT License


Languages

Language:Scala 52.9%Language:C++ 42.7%Language:C 3.3%Language:Makefile 1.1%