Skip to content

MONNK-CODE/RPS-GAME

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rock-Paper-Scissors Game

Welcome to the Rock-Paper-Scissors game! This project offers a fun and interactive way to play the classic game, either against a computer or a friend. With a clean design, real-time score tracking, and exciting animations, this game provides an engaging experience for players of all ages.

About the Project

The Rock-Paper-Scissors game is a modern web-based application that brings the timeless hand game to your browser. With a focus on both aesthetics and functionality, this game offers a delightful experience whether you're playing solo against an AI opponent or challenging a friend in a head-to-head battle.

Objectives

  • Deliver an enjoyable user experience with fluid animations and a responsive design.
  • Implement a robust game logic that handles both single-player and multiplayer modes.
  • Provide clear and intuitive feedback for player choices and game outcomes.

Features

  • Dual Game Modes: Play against a computer or a friend, each with tailored game logic.
  • Animated Feedback: Enjoy smooth animations that enhance gameplay for each move.
  • Responsive Layout: Play on any device with a design that adapts to different screen sizes.
  • Dynamic Score Tracking: Monitor player and computer scores with real-time updates.
  • Intuitive User Interface: Easily navigate the game with clear instructions and responsive buttons.
  • Trophy Icons for Leading Player: Visual cues indicate who is leading the game, adding a competitive edge.

Technologies Used

  • HTML: Provides the structure of the application.
  • CSS: Adds styling and animations for an appealing user experience.
  • JavaScript: Powers game logic, interactivity, and real-time score updates.

How to Play

Single-Player Mode (Against Computer)

  1. Start the Game: Select "Rock," "Paper," or "Scissors" to begin the round.
  2. Observe the Computer's Choice: The computer will make its choice after a brief delay, simulating a real-time decision.
  3. Review the Outcome: The result of the round is displayed, showing both player and computer choices.
  4. Track the Score: Scores are updated dynamically, with the leading player awarded a trophy icon.
  5. Play Again: Use the "Restart" button to initiate a new round.

Multiplayer Mode (Against a Friend)

  1. Player 1's Turn: Player 1 selects their choice of "Rock," "Paper," or "Scissors."
  2. Player 2's Turn: Player 2 then makes their selection.
  3. View the Results: The game displays the winner or a draw, with scores updated accordingly.
  4. Continue Playing: Start a new round by clicking the "Restart" button.

Restart Options

  • New Round: Resets the current round and allows new choices without affecting scores.
  • Wipe Scores: Resets both player and computer scores to zero for a fresh start.

About

Rock,Paper,Scissors Game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published