create a simple game of your choice in java. Requirements must include: 1. There will need to be a game window implemented as a JFrame. 2. Your game must provide instructions to the player. 3. You must have at least two different visual elements (buttons, labels, text fields, etc.) – at a minimum! 4. There must be a way for the user to interact with the game that causes some visual elements to change their appearance. For example, clicking on a button that represents a playing card could flip the card over to show its value, or correctly typing in the answer to a riddle could cause a smiley face to appear. 5. Your game should have some sort of score or goal. The level of success/total points should be displayed. 6. Be sure to design your game using good object-oriented coding principles. Make appropriate use of collections like arrays or ArrayLists and loop over them to avoid unnecessary code repetition. If relevant, consider storing data needed by your game in a file so that it can be modified easily. Example of concentration(memory) provided, as well as other requiremen
create a simple game of your choice in java. Requirements must include:
1. There will need to be a game window implemented as a JFrame.
2. Your game must provide instructions to the player.
3. You must have at least two different visual elements (buttons, labels, text fields, etc.) – at a minimum!
4. There must be a way for the user to interact with the game that causes some visual elements to change their appearance.
For example, clicking on a button that represents a playing card could flip the card over to show its value, or correctly
typing in the answer to a riddle could cause a smiley face to appear.
5. Your game should have some sort of score or goal. The level of success/total points should be displayed.
6. Be sure to design your game using good object-oriented coding principles. Make appropriate use of collections like arrays or ArrayLists and loop over them to avoid unnecessary code repetition. If relevant, consider storing data needed by your game in a file so that it can be modified easily.
Example of concentration(memory) provided, as well as other requirement
![Game 'Instructions' clearly communicated
] Game window includes visual elements of at least two different types
] At least one visual element is capable of movement/change
] User input updates the game in a meaningful way.
The game calculates and displays some 'score' or other measure of success
Subjective coolness."
-le
] Good use of classes and inheritance. Classes are coherent and cohesive.
] There is no unnecessary repetition of code.
] Standard coding conventions are followed, including variable names and indentation.
] The coding is meaningfully commented, and there is not commented out junk code](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fd518a498-f9ee-4b91-aa56-5e4f4819a646%2Fe525545d-d5ec-479d-87c2-f779deb140b7%2F79y733f_processed.png&w=3840&q=75)


Step by step
Solved in 3 steps









