Skip to content

DalaScript/spock-rock-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

🔗 Links

📌 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 🚀

About

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

Topics

Resources

Stars

Watchers

Forks