Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Assignment (1/15) Game of Life Write a programcalled Life.java that simulates the Game of Life. The user must be able to provide these 3 things,
Assignment (1/15) Game of Life Write a programcalled Life.java that simulates the Game of Life. The user must be able to provide these 3 things, in this order, andas arguments when executing the program from Console:
- the size of the square grid (any integer)
- the number of iterations (any integer)
- which pattern type to initialize the cells with:
- Random (enter R)
- Glider gun (enterL)
- all programming will be in Java
- the user must be able to compile and run your code without modification from Command Prompt/Terminal/Console
- the user must not be told to use, or need to use, an IDE to run it
- if that happens then your program will simply score zero
- all code necessary for your program to run must be provided as .java files
- see Compiling and Running java in Consolefor more guidance
- the user must not be told to use, or need to use, an IDE to run it
- your code is going to assessed ONLY by its behaviour when run
- we cannot debug your efforts to judge how \'close\' you were to providing working code
- so please note that any code that cannot be run will score zero
- if you wish, you can use the Picture.java class found in the RESOURCES section to create the graphical output for Life
- see the PictureDemo code for how it works, including a way to magnify the display size of the cells so that they can be seen by the user!
Attachments:
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