CS 205 - Programming for the Sciences
Spring 2008 - In-class Exercise for 04/01/08


Today's exercise is to add a menu to the Game of Life program with actions to open (load) a file with a grid configuration, save a configuration to the current file, or save a configuration to another file. For this exercise, you are given a C# project with a complete Game of Life program. You are to add a menu and the handlers implementing the menu actions.


Use a Web browser to go to the course webpage http://csserver.evansville.edu/~hwang/s08-courses/cs205.html. Under today's date, save the file GameOfLifeFilesInClass.zip. Extract the solution folder. Double-click into the folder, then double-click on GameOfLife.sln (the Visual Studio solution file). This will launch Visual Studio with the solution loaded. Save the sample Game of Life configuration file GliderGun.gol from the webpage to the solution folder (the file could go anywhere, but this will make it easier to find).


Changes from the previous Game of Life program:



Assignment

(10 points) We will do the following in class. Details will be given during class. The corresponding chapters of the textbook are given in parentheses.


04/01/08 1 of 1