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
- Host: GitHub
- URL: https://github.com/anurag-prajapati34/rock-paper-scissors-game
- Owner: anurag-prajapati34
- Created: 2024-06-13T11:51:56.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-06-13T16:09:56.000Z (12 months ago)
- Last Synced: 2024-06-14T15:20:55.953Z (12 months ago)
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
-
Start the Game: Open the web application in your browser. -
Make Your Move: Click on the Rock, Paper, or Scissors button to make your move. -
Computer Move: The computer will randomly select its move. -
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
-
Update Score: The score will be updated based on the result of each round. -
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.