create a simple game of your choice in java. Requirements must include: please show code all code to correctly compile. 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
create a simple game of your choice in java. Requirements must include:
please show code all code to correctly compile.
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
Trending now
This is a popular solution!
Step by step
Solved in 2 steps