Skip to content

A simple web-based Rock Paper Scissors game built with Flask, HTML, CSS, and JavaScript. Play against the computer with real-time score updates, dynamic gameplay, and a stylish interface. The game ends when either player scores 10 points. Features include a reset button and responsive design for an engaging user experience.

Notifications You must be signed in to change notification settings

04bhavyaa/rock-paper-scissor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rock Paper Scissors Game

A simple and interactive Rock Paper Scissors game built with Flask, HTML, CSS, and JavaScript. Challenge the computer and enjoy real-time gameplay with dynamic score updates and a clean, responsive interface.

Features

  • Play against the computer with real-time score updates.
  • Automatic game reset when either player scores 10 points.
  • Reset button to restart the game manually.
  • Responsive design for a seamless experience on any device.
  • Styled interface with intuitive gameplay.

Technologies Used

  • Flask: Backend framework for serving the game.
  • HTML & CSS: Frontend structure and styling.
  • JavaScript: Game logic and user interactions.

How to Run Locally

  1. Clone the repository:
    git clone https://github.com/<your-username>/rock-paper-scissors.git
    cd rock-paper-scissors
  2. Run the Flask application:
    python app.py
  3. Open your browser and go to:
    http://127.0.0.1:5000
    
  4. Play the game!

File Structure

  rock-paper-scissors/
  ├── app.py          # Python backend logic
  ├── static/
  │   ├── styles.css  # CSS file for styling
  │   └── images/     # Folder for hand gesture images
  ├── templates/
  │   └── index.html  # HTML file for the UI
  └── README.md       # Project documentation

Screenshots

image image

Developed by Bhavya Jha

About

A simple web-based Rock Paper Scissors game built with Flask, HTML, CSS, and JavaScript. Play against the computer with real-time score updates, dynamic gameplay, and a stylish interface. The game ends when either player scores 10 points. Features include a reset button and responsive design for an engaging user experience.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published