Login

LOGIN or NIkhil's Game Of Life, is my very own Conway's Game of Life simulator. Written in C++ using SDL. I wrote it mainly to learn SDL and because I truely enjoy life. Currently it only runs on Linux. Read the README file in the package for instructions on installation and usage. If you are an SDL programmer on windows I would appreciate if you could create a windows executable and send it to me.

Features

Generation count in the titlebar On the fly change in generation delay

It follows original Life rules and there is no support for reading or writing Life files.

Download

Source: http://22bits.exofire.net/downloads/login.tar.gz

Windows executable: http://22bits.exofire.net/downloads/login-win32.zip

Installation

Make sure you have the SDL development package for your distribution installed. Extract the archive to a suitable location, change to the login directory and run

make
./login

To install it system-wide do

su -c 'make install'

This will create a executable called login_game (so it doesn't conflict with login) in /usr/bin

Usage

To run login see above. You can also pass one argument to login, a number specifying the original delay in milliseconds.

LOGIN runs in 2 modes. One is when the program is running but the game is not. In this state you can do the following.

When the game is running you can only do two things

Note that + and - unfortunately do not work continuosly on holding them. The reason they seem contradictory is that well they control the delay. So '+' increases the delay and decreases the speed :)