CSc 430 - Software Engineering & GUI Design/Programming - Professor B Domanski

Game of LIFE

 

Objective : To program a simple LIFE game (credits: John Conway, original concept).  Lots of these are on the web if you do a Google search.

 

Concepts:  Control Arrays, Defensive Design

 

Rules:  


Big Concept:

 

Right-Click to Download & Execute LIFE

 

 

By appropriate use of the .enable property for command buttons, your code should, at the appropriate times, disable and then enable specific buttons from being clicked.  No, you don't have to really deal with much input from the keyboard … concentrate primarily on the code that will be invoked when someone clicks on one of the  buttons that causes a new generation to be found.

 

Design - A simple design document MUST accompany the program.  You do NOT have to go wild!  Simply, try to write enough so that if you didn't see the program for a year, you could read this document and feel comfortable about making additions to the program.

 

Testing: Try your program out testing "edge" conditions (cells in the first and last row, cells in the first and last column).  Don't test for cell that doesn't exist, and don't generate an invalid set of indexes into the array(s).

 

Extra Credit - Allow the user to select from a set of patterns to start a run, e.g. straight line, criss-cross, creepers, etc.

 

Due:  2 Weeks ( Tue  Feb 23 )  ;  Live presentation in front of class. Must present & compile the code.

Posted: 9 Feb