Question
Hello my project topic is Game of Life by John Conway. I need to write a program in java to output a board of size
Hello my project topic is Game of Life by John Conway. I need to write a program in java to output a board of size 100 by 100 with grid of cells in it as well as a glider inside the cells gliding using a commad line. 2) Place a glider in the 2darray. you may choose the location of the glider(choose wisely). 3) Assume the glider spans a 3x3 area. count the number of neighbors in the area around the glider. Dont forget the rows on the top and bottom and the columns to the left and right. 4) Let the glider glides on the board using the following features: a)Thread.sleep(sleepTime) b)Delimiter i.e for board decoration c)create current generation from word object and apply the rules(the three rules are below) and updates to the nextGeneration. THE THREE RULES ARE: 1)Birth:A dead cell with exactly three live neighbors becomes a live cell 2)Survival:A live cell with two or three neighbors stays alive 3)OVERCROWDINGNESS:A cell with more than four live neighbors dies. 4)LONELINESS:A cell with less than two live neighbors dies.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started