Skip to content

A simple Rock Paper Scissors game implemented in C and developed using Visual Studio Code.

License

Notifications You must be signed in to change notification settings

SilentAssasin10/Rock_Paper_Scissor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rock_Paper_Scissor

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.

Features

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.

Getting Started

Prerequisites:

To compile and run this project, you need:

  1. A C compiler (e.g., GCC)/Visual Studio Code (or any other text editor/IDE)

  2. Basic knowledge of C programming

How to Play

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.

Code Structure

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.

Contributing

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

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

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.

About

A simple Rock Paper Scissors game implemented in C and developed using Visual Studio Code.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages