https://github.com/venkat-0706/rock-paper-scissor-game
Rock, Paper, Scissors is a simple game where two players choose one of three options: rock, paper, or scissors. The rules are: rock beats scissors, scissors beats paper, paper beats rock. If both choose the same option, it's a tie.
https://github.com/venkat-0706/rock-paper-scissor-game
algorithm-design conditional-statements control-flow game-development interactive-console-application logic-programming programming-fundamentals random-number-generators randomization user-input-handling
Last synced: about 2 months ago
JSON representation
Rock, Paper, Scissors is a simple game where two players choose one of three options: rock, paper, or scissors. The rules are: rock beats scissors, scissors beats paper, paper beats rock. If both choose the same option, it's a tie.
- Host: GitHub
- URL: https://github.com/venkat-0706/rock-paper-scissor-game
- Owner: venkat-0706
- License: mit
- Created: 2024-08-26T03:59:43.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-08-26T04:06:21.000Z (9 months ago)
- Last Synced: 2025-03-26T22:11:13.039Z (2 months ago)
- Topics: algorithm-design, conditional-statements, control-flow, game-development, interactive-console-application, logic-programming, programming-fundamentals, random-number-generators, randomization, user-input-handling
- Language: Jupyter Notebook
- Homepage:
- Size: 5.86 KB
- Stars: 10
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Rock, Paper, Scissors Project: A Retrospective
**Project Process and Implementation:**
1. **Problem Definition:** Clearly defined the game's rules and objectives.
2. **Algorithm Design:** Created a flowchart or pseudocode to outline the game's logic.
3. **Language Selection:** Chose Python for its simplicity and readability.
4. **Input/Output:** Implemented functions to get user input and display game results.
5. **Randomization:** Used Python's `random` module to generate computer choices.
6. **Game Logic:** Implemented conditional statements to determine the winner based on the rules.
7. **User Interface:** Created a basic interface for input and output.**Outcomes:**
* **Functional Game:** Successfully implemented a playable Rock, Paper, Scissors game.
* **User Interaction:** Provided a user-friendly experience with clear prompts and feedback.
* **Randomized Outcomes:** Ensured fair gameplay with random computer choices.
* **Correct Decision-Making:** Accurately determined winners based on the game's rules.**Learnings:**
* **Programming Fundamentals:** Reinforced understanding of variables, conditional statements, and functions.
* **Algorithm Design:** Practiced breaking down a problem into smaller steps.
* **Random Number Generation:** Learned to use the `random` module effectively.
* **User Experience:** Gained insights into creating a user-friendly interface.
* **Testing and Debugging:** Developed skills in identifying and fixing errors.