Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xcyberpunkx/rockpaperscissors
This is a simple console-based Rock-Paper-Scissors game implemented in C++.
https://github.com/xcyberpunkx/rockpaperscissors
Last synced: about 1 month ago
JSON representation
This is a simple console-based Rock-Paper-Scissors game implemented in C++.
- Host: GitHub
- URL: https://github.com/xcyberpunkx/rockpaperscissors
- Owner: xCyberpunkx
- Created: 2023-11-17T13:23:04.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-17T13:28:20.000Z (about 1 year ago)
- Last Synced: 2023-11-18T14:42:32.650Z (about 1 year ago)
- Language: C++
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rock-Paper-Scissors Game
This is a simple console-based Rock-Paper-Scissors game implemented in C++.
## Game Description
This program allows you to play a specified number of rounds of Rock-Paper-Scissors against a computer opponent.
## How to Play
1. Run the program.
2. Enter the number of rounds you want to play (between 1 and 10).
3. Make your choice between Rock, Paper, or Scissors when prompted.
4. The computer will randomly choose its move.
5. The winner of each round and the overall winner of the game will be displayed.## Code Explanation
The code contains several functions and structures to manage the game, including functions for gameplay, determining winners, and displaying results.
## Usage
To play the game, compile and run the provided C++ code in an appropriate environment.