-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME.md
34 lines (25 loc) · 1.03 KB
/
README.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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
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
- TypeScript