Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Computer Aided Database Design

Authors: Antonio Albano, Valeria De Antonellis, A. Di Leva

1st Edition

0444877355, 978-0444877352

More Books

Students also viewed these Databases questions