Skip to content

YasoJan/Rock-Paper-Scissors

Repository files navigation

🪨📄✂️ Rock, Paper, Scissors

A polished, interactive version of the classic game built as part of The Odin Project: Foundations. This project focuses on UI state management, conditional logic, and clean asset integration.

🚀 Live Demo

https://rock-paper-scissors-bll96afqd-yasojans-projects.vercel.app

🛠️ Tech Stack

  • HTML5: Semantic markup for the game arena.
  • CSS3: Custom layout with a modern dark-mode aesthetic.
  • JavaScript (ES6): Game engine logic and dynamic DOM updates.
  • Vercel: Production deployment and hosting.

✨ Key Features

  • Round-Based Logic: Play against a bot in a "Best of 5" format, with real-time score tracking.
  • Dynamic Feedback: Interactive messages update based on round winners and the final game outcome.
  • Clean UI/UX: High-contrast design featuring custom hand-gesture iconography.
  • Automated Opponent: A randomized computer AI that provides a fair and unpredictable challenge.

🧩 Technical Challenge: Score Tracking

One of the primary challenges was ensuring the game state remained consistent across rounds. I implemented a scoring system that monitors both player and computer totals, triggering a victory or defeat screen once either party reaches 5 points:

About

A basic game of rock, paper, scissors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors