Program 9

Home Windows C++ 241 C++ 242 Contact Info Contents

Program 9 - March 5

Up

Game of Life

Program the Game of Life as described in our text: page 671, project 13. Be sure to read the hints and suggestions in the text.

The text doesn't give any suggestions about how to initialize the configuration. The simplest way to do this is to place the initial values in a file "life.dat". The file should contain up to 22 lines of no more than 80 characters that form a "picture" of the original configuration. If you want to, you can allow the user to input the initial configuration - that way you can more easily test your program with different configurations.

Think about how you will do this in advance. I'll answer "how-to" questions about this project on Wednesday, February 28.

Up

Home Windows C++ 241 C++ 242 Contact Info Contents

Copyright © 2000  Charlie Poole. All rights reserved.
Revised: July 15, 2002 - cpoole@ctc.edu