Welcome to the Spock Rock Game! This web application allows users to play the popular "Rock Paper Scissors Lizard Spock" game against the computer. The game features an engaging interface with icons representing different choices, and the winner is determined based on the classic rules of the game.
-
Gameplay Icons: Play the game by selecting your choice from the available icons representing Rock, Paper, Scissors, Lizard, and Spock.
-
Dynamic Score Tracking: The scores of both the player and the computer are dynamically updated based on the game results.
-
Reset and Restart: Reset the game at any time to start fresh with a clear scoreboard and choices.
-
Confetti Celebration: Enjoy a confetti celebration when you win a round.
-
HTML5: Provides the structure for the web page.
-
CSS: Styles the layout and enhances visual appeal.
-
JavaScript (ES6+): Implements the game logic, including player interactions, computer choices, and score tracking.
-
Font Awesome: Utilizes Font Awesome icons for an enhanced visual representation of game choices.
-
Click on the icons representing Rock, Paper, Scissors, Lizard, or Spock to make your choice.
-
The computer will randomly select its choice.
-
The game will display the chosen options and declare the winner based on the classic game rules.
-
Enjoy the confetti celebration when you win a round.
-
Use the reset icon to clear the scores and restart the game.
Contributions are welcome! If you have any suggestions, improvements, or bug fixes, please open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
The game design and rules are inspired by the "Rock Paper Scissors Lizard Spock" variation popularized by the TV show "The Big Bang Theory."
Confetti effects are achieved using a separate confetti.js module.