AliSinaDevelo / RPS

A simple rock paper scissors project

Home Page:https://alisinadevelo.github.io/RPS/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rock Paper Scissors (RPS)

This is a simple web application that allows users to play the classic game of Rock Paper Scissors against the computer. It is built as part of The Odin Project's curriculum.

How to Play

  1. Open the RPS Game in your web browser.

  2. Click on the buttons to select your choice of either Rock, Paper, or Scissors.

  3. The computer will randomly choose its move.

  4. The game will determine the winner based on the rules of Rock Paper Scissors:

    • Rock beats Scissors
    • Paper beats Rock
    • Scissors beats Paper
    • If both players choose the same move, it's a tie.
  5. The result will be displayed on the screen, along with the current score.

  6. Play multiple rounds to compete against the computer and try to win!

Technologies Used

  • HTML
  • CSS
  • JavaScript

Project Structure

The project follows a simple structure:

  • index.html: The main HTML file that contains the game board and buttons.

  • styles.css: The CSS file that defines the styles and layout of the game.

  • script.js: The JavaScript file that implements the game logic and handles user interactions.

Getting Started

To run the project locally, follow these steps:

  1. Clone the repository:

  2. Open the index.html file in your web browser.

  3. Start playing the Rock Paper Scissors game!

Contributing

Contributions to improve the game or add new features are welcome. If you'd like to contribute, please follow these steps:

  1. Fork the repository.

  2. Create a new branch for your feature:

  3. Make the necessary changes.

  4. Commit and push your changes to your forked repository.

  5. Create a pull request describing your changes.

License

This project is licensed under the MIT License.

Acknowledgements

  • This project was completed as part of The Odin Project's curriculum. You can find more information about the curriculum at theodinproject.com.

  • The design and implementation of this Rock Paper Scissors game were inspired by various online resources and tutorials.

About

A simple rock paper scissors project

https://alisinadevelo.github.io/RPS/

License:MIT License


Languages

Language:JavaScript 49.5%Language:CSS 28.3%Language:HTML 22.3%