Sin( x y ) Image Border.

GAME OF LIFE FOR WINDOWS


Overview

This is an implementation of J. H. Conway's cellular automata game of life. Source code uses the basic Win32 API and compiles under Cygwin.

Game of Life Screen.

The program is displaying a glider gun. Counters in red are in a steady state.

Features

Drawbacks:

See my design notes for a description of how to run the game and how it is designed.

Download

Source code is distributed under the terms of the GNU General Public License The current version number is 2.0

Click on the symbol Compact disk icon for source code download. to view and download the source files below.
Compact disk icon for source code download. winlife.c Main program which contains just about everything.
Compact disk icon for source code download. winlife.h Header file containing constants for the game board size, counter display size, time between generations, etc.
Compact disk icon for source code download. resource.h Windows resource include file.
Compact disk icon for source code download. winlife.rc Windows resource file.
Compact disk icon for source code download. winlife.cur.bin Windows cursor file. Strip off the .bin extension before using.
Compact disk icon for source code download. winlife.ico.bin Windows icon file. Strip off the .ico extension before using.
Compact disk icon for source code download. makefile Makefile for Cygwin on Windows
Compact disk icon for source code download. winlife.zip.bin Executable for Windows in a PKZipped file. Strip off the .bin extension and unzip.

On my Windows XP PC system, I use the makefile which is tailored for the Cygwin compiler. I also use the Bloodshed C++ compiler. In Bloodshed C++, create a new Project of the Windows Application type, use the C language, and load the source files above into the project.

Compact disk icon for source code download. Download gun30.lif Example Life 1.05 format file for the original glider gun. Glider gun picture

Compact disk icon for source code download. Download sample patterns with Conway Rules: pulsar, puffer, spaceship, escort, barber pole, oscillators and still lifes Download sample patterns with Highlife rules: replicator, glider gun, bomber.


Copyright © 1986-2008 by Sean Erik O'Connor. All Rights Reserved.     last updated 01 Jan 08.