- 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.
- 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
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.
- HTML
- CSS
- TypeScript