Posted by Ravinder Kaur on .
Write a program that uses a 20x20 board, initialised to a given pattern, to play the game Conway's life . After each turn print out the board pattern using a . for a dead square and a * for a live square. Squares off the board are considered permanently dead.
c programming -
Here, we do not write complete programmes for you. We can give help in debugging, design, or answer specific questions.
Here, you can create a 2-d array and work accordingly. Be sure to check for off-board indices to avoid memory errors.
If you need help with your pseudocode or debugging, please post.