/
index.html
executable file
·55 lines (50 loc) · 1.74 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
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Strike 9</title>
<!-- <link href='http://fonts.googleapis.com/css?family=Press+Start+2P' rel='stylesheet' type='text/css'> -->
<link rel="stylesheet" type="text/css" href="css/styles.css">
</head>
<body>
<script src="strike9-board.js"></script>
<div id="title">
Strike 9
</div>
<div id="header">
<div id="messageBox"></div>
<div id="computer-rolls">Computer rolls a...</div>
<div id="diceRoll"></div>
</div>
<div id="board">
<div class="row" id="row1">
<canvas id="1" width=90 height=90></canvas>
<canvas id="2" width=90 height=90></canvas>
<canvas id="3" width=90 height=90></canvas>
</div>
<div class="row" id="row2">
<canvas id="4" width=90 height=90></canvas>
<canvas id="5" width=90 height=90></canvas>
<canvas id="6" width=90 height=90></canvas>
</div>
<div class="row" id="row3">
<canvas id="7" width=90 height=90></canvas>
<canvas id="8" width=90 height=90></canvas>
<canvas id="9" width=90 height=90></canvas>
</div>
</div>
<div id="rules">
<span style="font-family: 'Press Start 2P', helvetica">How to Play:</span>
<ul>
<li>Click the numbered squares to sum up to the computer's dice roll.</li>
<li>Once a numbered square is used, it cannot be used again.</li>
<li>Once you make a sum, the computer will roll again.</li>
<li>Win by eliminating all numbered squares.</li>
</ul>
</div>
<div id="github">
<a href="https://github.com/sts10/strike-9" target="_blank" class="github">View on GitHub</a>
</div>
</body>
</html>