|
course.wilkes.edu/CS125Labs |
||||||
Lab 12: Instructor's Notes
As a fun way to explore two-dimensional vectors,
this exercise builds a class that facilitates playing
John Conway's cellular automata "game of Life."
The game involves processing a grid of cells,
which we represent as a two-dimensional
To facilitate this exercise, we provide several files:
LifeGame class constructor initializes itself with
a configuration stored in an input file.
To facilitate exploring the game, we also provide several
different configuration files, including
test.life,
stable.life,
quick.life,
cross1.life,
cross2.life,
glider.life,
gliders.life, and
blank.life.
As usual, if you wish to avoid network contention, save local copies of these files ahead of time and direct your students to access those local copies.
|
Home Membership
|
|||||
|
Last update: Friday, October 6, 2000 at 2:34:19 PM. |
||||||