GitHunt
DA

DalaScript/spock-rock-game

ZTM JS Web Projects Course | Spock Rock Game | Project 13/20

Spock Rock Game | ZTM JS Web Projects Course

Project 13/20

๐ŸŽฎ Spock Rock Game is an extended version of the classic Rock-Paper-Scissors game โ€” inspired by The Big Bang Theory โ€” now featuring Lizard and Spock as additional choices. With smooth UI, real-time score tracking, and a celebratory confetti animation when you win, this project is built entirely with Vanilla JS and styled to work across devices.


๐Ÿ“š Table of Contents


๐Ÿ”Ž Overview

๐Ÿ“ธ Screenshot

Live Preview Screenshot

๐Ÿ“Œ Features

  • โœ… 5-choice gameplay: Rock, Paper, Scissors, Lizard, Spock
  • โœ… Click-based controls with immediate visual feedback
  • โœ… Real-time score updates for both player and computer
  • โœ… Dynamic result messaging (win, lose, tie)
  • โœ… Confetti animation when the player wins ๐ŸŽ‰
  • โœ… Clean reset functionality to start over anytime
  • โœ… Visual "selected" highlight for both player and computer choices
  • โœ… Fully responsive and mobile-friendly layout

๐Ÿ› ๏ธ Built with

  • HTML5
  • CSS3
  • Vanilla JavaScript
  • Confetti.js

๐Ÿง  My Process

๐Ÿ—ƒ๏ธ Useful resources

๐Ÿ”™ Previous Project

๐Ÿ”œ Next Project


๐Ÿ‘ค Author

๐ŸŒ Connect with Me

๐Ÿ’ป Coding Profiles

๐Ÿ™Œ Thanks for checking out my project! More coming soon. Stay tuned ๐Ÿš€

DalaScript/spock-rock-game | GitHunt