/Rock-Paper-Scissors-Lizard-Spock_JS

A javascript-powered Rock Paper Scissors Lizard Spock game

Primary LanguageJavaScriptMIT LicenseMIT

Rock - Paper - Scissors - Lizard - Spock

A javascript-powered Rock Paper Scissors game + Lizard and Spock

bg

How to Play

  1. Open the index.html file in your web browser.
  2. Click on the "Start Game!" button to begin.
  3. A prompt will appear asking you to choose between Rock, Paper, Scissors, Lizard, or Spock.
  4. Enter your choice and press Enter.
  5. The computer will randomly select its choice.
  6. The result of the game will be displayed in an alert dialog.
  7. Play again by clicking the "Start Game!" button.

Game Rules

  • Rock beats Scissors and Lizard
  • Paper beats Rock and Spock
  • Scissors beats Paper and Lizard
  • Lizard beats Paper and Spock
  • Spock beats Rock and Scissors

Files

  • index.html: The HTML file that contains the game interface.
  • style.css: The CSS file for styling the game interface.
  • app.ts: The TypeScript file that implements the game logic.

Technologies Used

  • HTML
  • CSS
  • Javascript

License

This project is licensed under the MIT License. You can find the full text of the license in the LICENSE.md file.