Question: this is another Java language coding question. can you please explain the code and concept in detail. 12:59 0o C . V4 77% 2. Write
this is another Java language coding question.

can you please explain the code and concept in detail.

12:59 0o C . V4 77% 2. Write a program called Life.java that simulates the Game of Life. The user must be able to provide these 3 things as arguments when executing the program from Console: 1. the size of the square grid (any inleger) 2. the number of ileralions (any inleger) 3. whether lo : initialize the cells with a Random pattern (enter R) initialize the cells with a Gosper glider gun (enter G) The program will use a graphical display to show the iterations. There should be sufficient delay between each iteration for the user to be able to see what's happening (not too fast, not too slow!). and the user should be able to see the individual cells don't draw them too small!) Example run command in Console: java Life 100 500 B will run life with a grid size 100 for 500 iterations, beginning with a random initial pattern of cells This video shows an example of what's required. 12:59 00 CM 4 77% And this is what a Gosper Glider Gun looks like: Note: all programming will be in Java and runnable on a Labnet machine using Linux without modification (i.e. the user can simply compile and run your code in console, they should not need to use an IDE) see Compiling and Running.java in Console for more guidance 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 Cave 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! 12:59 0o C . V4 77% 2. Write a program called Life.java that simulates the Game of Life. The user must be able to provide these 3 things as arguments when executing the program from Console: 1. the size of the square grid (any inleger) 2. the number of ileralions (any inleger) 3. whether lo : initialize the cells with a Random pattern (enter R) initialize the cells with a Gosper glider gun (enter G) The program will use a graphical display to show the iterations. There should be sufficient delay between each iteration for the user to be able to see what's happening (not too fast, not too slow!). and the user should be able to see the individual cells don't draw them too small!) Example run command in Console: java Life 100 500 B will run life with a grid size 100 for 500 iterations, beginning with a random initial pattern of cells This video shows an example of what's required. 12:59 00 CM 4 77% And this is what a Gosper Glider Gun looks like: Note: all programming will be in Java and runnable on a Labnet machine using Linux without modification (i.e. the user can simply compile and run your code in console, they should not need to use an IDE) see Compiling and Running.java in Console for more guidance 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 Cave 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
