Skip to content

Rock, Paper, Scissors – Single Player is a modern, responsive, web game where you play against a computer opponent that offers three difficulty levels. The match ends when either you or the computer reaches 5 wins. Featuring a sleek dark theme, dynamic score updates, and a built‑in Help modal, this game delivers a polished and engaging user ...

License

Notifications You must be signed in to change notification settings

bocaletto-luca/Rock-Paper-Scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Rock, Paper, Scissors – Web Game

Author: Bocaletto Luca

Made with HTML5 Made with CSS3 Made with JavaScript

Test Online

Rock, Paper, Scissors – Single Player is a modern, responsive, web game where you play against a computer opponent that offers three difficulty levels. The match ends when either you or the computer reaches 5 wins. Featuring a sleek dark theme, dynamic score updates, and a built‑in Help modal, this game delivers a polished and engaging user experience.


Table of Contents


Overview

This project is a single‑player Rock, Paper, Scissors game where you play against a computer. Choose between three difficulty settings:

  • Easy: Even chance (≈33% win, tie, lose).
  • Medium: Computer wins about 50%, ties 25%, you win 25%.
  • Hard: Computer wins 85%, ties 10%, you win 5%.

The match continues round by round until either the player or computer reaches 5 wins, at which point the game declares the overall winner.


Features

  • Responsive & Modern Design:
    Sleek dark‑themed UI that adapts perfectly to desktops, tablets, and smartphones.
  • Three Difficulty Levels:
    You can select Easy, Medium, or Hard to adjust the computer’s move bias.
  • Match-End Condition:
    The game automatically ends when either you or the computer scores 5 wins.
  • Dynamic Scoreboard:
    Scores update instantly after each round.
  • Help Modal:
    A Help button in the header opens a modal with detailed game instructions.
  • Intuitive Controls:
    Clarity-first UI with large, centered move buttons (✊, ✋, ✌️) and clear action buttons for "Next Round" and "Restart Game".

Technologies Used

  • HTML5 – Structure and semantic markup.
  • CSS3 – Responsive design, layout, and styling.
  • JavaScript (ES6) – Game logic, dynamic score updates, and interactivity.

Installation

  1. Clone the Repository:
    git clone https://github.com/bocaletto-luca/Rock-Paper-Scissors.git
  2. Start webserver example Apache2 and open index.html in Web Browser

License: GPLv3

About

Rock, Paper, Scissors – Single Player is a modern, responsive, web game where you play against a computer opponent that offers three difficulty levels. The match ends when either you or the computer reaches 5 wins. Featuring a sleek dark theme, dynamic score updates, and a built‑in Help modal, this game delivers a polished and engaging user ...

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages