Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a GUI that implements a game of rock-paper-scissors (JAN-KEN-PO). Please read instructions below carefully. Save the results of every match as well as the
Create a GUI that implements a game of rock-paper-scissors (JAN-KEN-PO). Please read instructions below carefully.
Save the results of every match as well as the overall results into a file called scores.txt
Be sure to include an instructions button just in case user does not know how to play.
Your game will implement the rock-paper-scissors game featuring the User vs. the Computer. Submit the following GUI program:
- You should keep score. User - Computer Ties.
- You will write the results of each match as well as the final scores into a file. This file should be called scores.txt. Make sure to let the user know where the scores file is located (File will generate as the user plays).
- Be sure to set up the appropriate size so that your GUI looks its best.
- Proper use of JFrame/Buttons/ActionListener etc. Make sure when clicking outside, nothing unwanted happens. Monkey test your program.
You must call your driver class RPS.java. The scores.txt file should be generated as the user plays.
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