-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
81 lines (75 loc) · 2.9 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html>
<html>
<head>
<title>Small Snake</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1 id="heading" >Small Snake</h1>
<div id="container_box" >
<div class="side_box" >
<h1>Instructions</h1>
<ul>
<li>Each player starts at 0</li>
<li>Pawns move on the basis of the dice rolled</li>
<li>If you reach a ladder box you go up to the number mentioned </li>
<li>If you reach a snake box you go down to the number mentioned</li>
<li>The first person to reach finish wins the game</li>
</ul>
</div>
<div id="snake_box">
<div id="box_36">36
<div id="winner" >Winner</div>
</div>
<div id="box_35">35</div>
<div id="box_34">34</div>
<div id="box_33">33</div>
<div id="box_32">32</div>
<div id="box_31">31</div>
<div id="box_25">25</div>
<div id="box_26">26</div>
<div id="box_27">27</div>
<div id="box_28">28</div>
<div id="box_29">29</div>
<div id="box_30">30</div>
<div id="box_24">24</div>
<div id="box_23">23</div>
<div id="box_22">22</div>
<div id="box_21">21</div>
<div id="box_20">20</div>
<div id="box_19">19</div>
<div id="box_13">13</div>
<div id="box_14">14</div>
<div id="box_15">15</div>
<div id="box_16">16</div>
<div id="box_17">17</div>
<div id="box_18">18</div>
<div id="box_12">12</div>
<div id="box_11">11</div>
<div id="box_10">10</div>
<div id="box_9">9</div>
<div id="box_8">8</div>
<div id="box_7">7</div>
<div id="box_1">1</div>
<div id="box_2">2</div>
<div id="box_3">3</div>
<div id="box_4">4</div>
<div id="box_5">5</div>
<div id="box_6">6</div>
</div>
<div class="side_box">
<div id="dice" >
<h1 id="dice_number" >5</h1>
</div>
<div id="dice_button">Roll Dice</div>
<h1 id="next_player_text" >Next player to roll dice:</h1>
<h1 id="player_name" >Player 1</h1>
<h1 id="alerts"></h1>
</div>
</div>
<script type="text/javascript" src="script.js" ></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Monoton&family=Roboto&display=swap');
</style>
</body>
</html>