-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (59 loc) · 1.94 KB
/
index.html
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Rock, Paper, Scissors, Lizard, Spock</title>
<link rel="stylesheet" href="css/main.css">
<script src="js/jquery-1.11.0.min.js"></script>
<script src="js/main.js" type="text/javascript"></script>
</head>
<body>
<div class="wrapper">
<h1>Rock, Paper, Scissors, Lizard or Spock?</h1>
<p>A steam-powered bot has challenged you to a game.</p>
<p><strong>Rock</strong> beats <strong>scissors</strong>, <strong>scissors</strong> beats <strong>paper</strong>, <strong>paper</strong> beats <strong>rock</strong>, <strong>rock</strong> crushes <strong>lizard</strong>, <strong>lizard</strong> poisons <strong>Spock</strong>, <strong>Spock</strong> smashes <strong>scissors</strong>, <strong>scissors</strong> decapitates <strong>lizard</strong>, <strong>lizard</strong> eats <strong>paper</strong>, <strong>paper</strong> disproves <strong>Spock</strong>, <strong>Spock</strong> vaporises <strong>rock</strong>.</p>
<div class="scoreboard">
<h2>Scoreboard</h2>
<table>
<tbody>
<tr>
<td id="humanScore">0</td>
<td id="computerScore">0</td>
</tr>
</tbody>
<tfoot>
<tr>
<th>You</th>
<th>Bot</th>
</tr>
</tfoot>
</table>
</div>
<h2>Choose Wisely</h2>
<div class="buttons">
<button id="rock">Rock</button>
<button id="paper">Paper</button>
<button id="scissors">Scissors</button>
<br>
<button id="lizard">Lizard</button>
<button id="spock">Spock</button>
</div>
<div id="status">
<table>
<thead>
<tr>
<td id="hChoice"></td>
<td id="cChoice"></td>
</tr>
</thead>
<tbody>
<tr>
<td id="hChoiceImg"></td>
<td id="cChoiceImg"></td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>