An open API service indexing awesome lists of open source software.

https://github.com/anurag-prajapati34/rock-paper-scissors-game

Fully Function very famous Game Rock Paper Scissors
https://github.com/anurag-prajapati34/rock-paper-scissors-game

Last synced: 20 days ago
JSON representation

Fully Function very famous Game Rock Paper Scissors

Awesome Lists containing this project

README

        

Rock Paper Scissors Game


Welcome to the Rock Paper Scissors game! This web application is a fun and interactive implementation of the classic Rock Paper Scissors game, developed using HTML, CSS, and JavaScript.


Features




  • Player vs Computer Mode: Play against the computer with randomly generated moves.


  • Interactive UI: Enjoy a clean, responsive, and intuitive user interface.


  • Dynamic Game Logic: The game handles player input, generates computer moves, checks win conditions, and updates the score dynamically.


  • Reset Option: Easily restart the game with a click of a button.


How to Play




  1. Start the Game: Open the web application in your browser.


  2. Make Your Move: Click on the Rock, Paper, or Scissors button to make your move.


  3. Computer Move: The computer will randomly select its move.


  4. Determine the Winner: The game will compare the player's move and the computer's move to determine the winner:

    • Rock crushes Scissors

    • Scissors cuts Paper

    • Paper covers Rock




  5. Update Score: The score will be updated based on the result of each round.


  6. Resetting the Game: Click the reset button to start a new game.


Technologies Used




  • HTML: For structuring the web page and creating the game elements.


  • CSS: For styling the game interface to make it visually appealing.


  • JavaScript: For implementing the game logic, handling user interactions, and updating the UI dynamically.


Project Structure




  • index.html: Contains the HTML structure of the game.


  • style.css: Contains the CSS styles for the game.


  • script.js: Contains the JavaScript code that drives the game logic.