View Code? Open in Web Editor
NEW
A typescript-powered Rock Paper Scissors Lizard Spock game
License: MIT License
rock-paper-scissors-lizard-spock_with_typescript's Introduction
Rock - Paper - Scissors - Lizard - Spock
A javascript-powered Rock Paper Scissors game + Lizard and Spock
![bg](https://user-images.githubusercontent.com/27622683/195978914-ff205472-b8d1-40e0-a363-e60cc7ff25a5.jpg)
How to Play
- Open the
index.html
file in your web browser.
- Click on the "Start Game!" button to begin.
- A prompt will appear asking you to choose between Rock, Paper, Scissors, Lizard, or Spock.
- Enter your choice and press Enter.
- The computer will randomly select its choice.
- The result of the game will be displayed in an alert dialog.
- 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
rock-paper-scissors-lizard-spock_with_typescript's People
Contributors
Watchers