Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help with my final assigment for my Java Programming I class. Java Programming I, Final Project, Points: 200 Overview We are going to

I need help with my final assigment for my Java Programming I class.

Java Programming I, Final Project, Points: 200

Overview We are going to do a version of Conways Game of Life.

Requirements Conways Game of Life is a two dimensional grid of square cells that have two possible states of being. A cell is either alive or dead. There is a new generation that will change each cell based on the number of neighbors that cell has. The number of generations is usually infinite. This means that once the program starts there is no stop. The Game of Life is what is called a simulation. The grid is normally infinite. For this assignment the grid will be limited. The user will define the size of the grid. We will not do an infinite run so the number of generations will be limited to 10. The rules for Conways Game of Life are: 1. Any live cell with fewer than two live neighbors dies 2. Any live cell with two or three live neighbors lives on to the next generation 3. Any live cell with more than three live neighbors dies 4. Any dead cell with exactly three live neighbors becomes a live cell Each generation runs through the whole grid and determines what happens to a cell based on the 4 rules above. The initial filling of the grid will be done with a random generator. There are some sample screenshots in a following section.

Screen Shots

These screen shots are examples of what your application should look like. The below screen shot only shows three (3) generations. Your program should have ten (10) generations.

image text in transcribed

Extra Credit For 25% extra credit: Use separate classes to display and process the grid. As well as a separate class for the grid itself.

Hand In For this assignment please hand in the full project folder with all the files in a single zipped folder.

Welcome to Conway's Game of Life! Please enter the height: 10 Please enter the width: 10 Generation 0 ?* Generation 1 ?? Generation 2 Generation 3 * t

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_2

Step: 3

blur-text-image_step3

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

More Books

Students also viewed these Databases questions