Program specifications - Conway's Game of Life
Your program should be called life.cpp,
and should be placed in the lab2 folder
of your eng101 space.
Your program should:
- Prompt the user for:
- two dimensions of a grid size
- a fraction between 0 and 1
- a number of generations
- a seed value for the randon number generator (optional)
- Randomly fill the grid with the given fraction of squares
- For each generation:
- Determine the grid for the next generation according to the standard rules
- Display the grid on the screen in a compact, readable way