Skip to content

sujeet-12/RPS_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rock Paper Scissors (RPS) Game - The Best Visual Game Ever!

Overview

Welcome to the Rock Paper Scissors (RPS) game with a twist! This is a visually enhanced, interactive version of the classic game, developed using HTML, Tailwind CSS, and JavaScript. Enjoy an immersive, sleek interface with smooth animations, modern visuals, and enhanced game features that make it the best visual RPS game ever.

Features:

  • Sleek Design: A beautifully crafted UI using Tailwind CSS that adapts to any screen size.
  • Interactive Gameplay: Click on buttons to select Rock, Paper, or Scissors, and watch smooth animations play out.
  • Real-time Results: Instant visual feedback and scoring after every round.
  • Sound Effects: Engaging sound effects when making a move, winning, or losing.
  • Score Tracking: Keeps track of your score throughout the game.
  • Customizable: Easily tweak the design and animations, as well as integrate new features.

Table of Contents

  1. Overview
  2. Features
  3. Game Controls
  4. How to Play
  5. Troubleshooting
  6. License
  7. Contact

How to Play

  1. Launch the Game:

    • Open the index.html file in any modern web browser to start the game.
  2. Make Your Move:

    • Click on one of the three buttons labeled Rock, Paper, or Scissors to make your move.
    • Your choice and the opponent’s (random) choice will be displayed with animations, and the result will be shown immediately.
  3. Game Results and Score Tracking:

    • After each round, the game will display whether you won, lost, or drew.
    • Your cumulative score is updated and displayed on the screen.
  4. Restarting the Game:

    • To play again, you can refresh the page or click on a "Restart" button if provided.

Game Controls

  • Rock Button: Selects Rock as your move.
  • Paper Button: Selects Paper as your move.
  • Scissors Button: Selects Scissors as your move.
  • Restart Button: Resets the score and allows you to start a new game.

Features

  • Single-Player Mode: Play against the computer. The computer makes a random choice each time.
  • Score Tracking: View your score after each round and keep track of your wins, losses, and draws.
  • Smooth Animations: Enjoy animated transitions when selecting moves and seeing the results.
  • Sound Effects: Fun sounds are played when moves are made, and when the round concludes.
  • Mobile-Friendly: Fully responsive layout to enjoy on both desktop and mobile devices.

Troubleshooting

  • Game Not Loading:

    • Make sure you’ve opened the index.html file in a modern web browser.
    • Check if your browser allows scripts to run and ensure that there are no security issues blocking the JavaScript file.
  • Visuals Not Displaying Correctly:

    • Ensure you're using the latest version of your browser that supports modern CSS and JavaScript features.
    • If you're using an internet connection for CDN links (for Tailwind CSS), ensure the connection is working.
  • Sounds Not Playing:

    • Make sure your browser's sound settings are enabled.
    • If playing locally, check that the sound files are present and linked correctly in the index.html file.

License

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

Contact

For any issues or inquiries, feel free to contact me at:

Releases

No releases published

Packages

No packages published