Welcome to the Rock Paper Scissors game repository! This project is a simple implementation of the classic game "Rock Paper Scissors" written in C programming language. The game allows a user to play against the computer, providing a fun way to practice C programming and basic game logic.
User vs Computer Gameplay: Play Rock Paper Scissors against the computer.
Randomized Computer Choices: The computer makes random choices to ensure fair gameplay.
Clear User Interface: Simple and intuitive command-line interface.
Score Tracking: Keeps track of wins, losses, and draws.
Prerequisites:
To compile and run this project, you need:
-
A C compiler (e.g., GCC)/Visual Studio Code (or any other text editor/IDE)
-
Basic knowledge of C programming
The program will prompt you to enter your choice: Rock, Paper, or Scissors.
The computer will randomly select its choice.
The winner is determined based on the standard rules of Rock Paper Scissors:
Rock crushes Scissors
Scissors cuts Paper
Paper covers Rock
The game will display the results and update the score.
rock_paper_scissors.c: The main source file containing the game logic and user interface.
README.md: This file, providing an overview and instructions for the repository.
Contributions are welcome! If you have suggestions for improvements or new features, feel free to fork the repository and create a pull request.
Fork the repository
Create a new branch (git checkout -b feature-branch)
Commit your changes (git commit -m 'Add some feature')
Push to the branch (git push origin feature-branch)
Open a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
Inspiration for this project came from the classic game "Rock Paper Scissors".
Thanks to the open-source community for the tools and resources that made this project possible.