Question: In Java, please create a type of game, can be a game or statistical simulation that meets the following requirements: 1 . Console output to
In Java, please create a type of game, can be a game or statistical simulation that meets the following requirements:
Console output to track the data state of your program. Use println, print and printf as
necessary.
Clear commenting in your program. I want to see comments that describe your thought process
and the function of the program. You must make comments that tell me what sections of code
meet the required skills. Eg you put a comment above a method that does a search on an
array. You can make a comment above it that explains that this is where you did array
traversals. I need to see comments in the code that direct me to all required skills.
Loops and conditionals
a You may use enhanced for or standard for, ifelse or switch, while or dowhile. Use what
works best for the program!
Well decomposed methods:
a I need to see methods that perform one task and perform that task well. If a method
starts to get too big, break it up into multiple methods.
Array and ArrayList, multidimensional arrays. Collections of objects.
NOT ALL OF THESE ARE NECESSARYMust show clear understanding of collections and arrays
Proper use of a multiclass architecture.
a Composition relationships
b Inheritance
c Polymorphism
d Separation of concerns
e Model View Control design Pattern.
f Data and services put in their proper places
g All essential data and services are out of the main class
h Proper use of encapsulation
i Think of the principle of least privilege.
Data validation through exception handling try catch is all that is required.
GUI with layout managers, null layout is not acceptable.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
