Assignment title: Question 1: Game of Life
assignment details:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Conway's Game of Life
For this assignment your are to write a program, that plays Conway's game of Life. See the Wikipedia definition, if
you have never played the game: http://en.wikipedia.org/wiki/Conway's_Game_of_Life.
Here is how our implementation will work:
(1) The program will ask the user to enter a filename from the console. (Just like the last assignment).
(2) The initial configuration will be read in from a file, which will be a 12 by 30 two-dimensional array of characters. The game board will be surrounded by all O's.
(3) The game will be played on 10 by 28 two-dimensional array. (Can you guess why?). A period ('.') will represent a dead cell and an 'X' will represent a live cell.
You will be severely penalized if your program does not have at least three functions.
View solution (interface must match)
What my current code does:
1 2 3 4 5
Ask's the user to input a filename (ex life01.txt, etc) and stores it in a 12by30 two-dimensional array.
I know I need to use the rules of the game of life and use them with the file contents?
I REALLY NEED HELP?