Welcome to the Rock Paper Scissors game! This is a simple command-line game where you can play Rock, Paper, Scissors against the computer. The game keeps track of the scores and saves them in a text file.
- Play Rock, Paper, Scissors against the computer.
- Scores are saved and loaded from a text file.
- View the current scoreboard.
- Quit the game and save your progress.
This is the main class of the game. It initializes the game, displays the menu, and handles user input.
This class handles reading from and writing to the save file. It ensures that the scores are saved and loaded correctly.
The scores are will be saved in a text file named save-file.txt
. The file contains the following information:
You: [userScore]
Computer: [computerScore]
Draw: [draw]
Feel free to fork this repository and submit pull requests. Any improvements or bug fixes are welcome!