-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
97 lines (97 loc) · 4.03 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<html lang="en">
<head>
<title>Play Ludo!</title>
<link rel="icon" type="image/x-icon" href="title_ico.jpg">
<link rel="stylesheet" href="style.css">
<script src="main.js"></script>
</head>
<body>
<div class="container">
<div class="row1" style="color: black;font-size: x-large;">
<div class="column1" id="pos_0">Player A starts here...</div>
<div class="column2" id="pos_27"></div>
<div class="column3" id="pos_26"></div>
<div class="column4" id="pos_25"></div>
<div class="column5" id="pos_24"></div>
<div class="column6" id="pos_23"></div>
<div class="column7" id="pos_22"></div>
<div class="column8" id="pos_21"></div>
</div><div class="row2" style="color: black;font-size: x-large;" >
<div class="column1" id="pos_1"></div>
<div class="column2"></div>
<div class="column3"></div>
<div class="column4"></div>
<div class="column5"></div>
<div class="column6"></div>
<div class="column7"></div>
<div class="column8" id="pos_20"></div>
</div><div class="row3" style="color: black;font-size: x-large;">
<div class="column1" id="pos_2"></div>
<div class="column2"></div>
<div class="column3"></div>
<div class="column4"></div>
<div class="column5"></div>
<div class="column6"></div>
<div class="column7"></div>
<div class="column8" id="pos_19"></div>
</div><div class="row4" style="color: black;font-size: x-large;">
<div class="column1" id="pos_3"></div>
<div class="column2"></div>
<div class="column3"></div>
<div class="column4"></div>
<div class="column5"></div>
<div class="column6"></div>
<div class="column7"></div>
<div class="column8" id="pos_18"></div>
</div><div class="row5" style="color: black;font-size: x-large;">
<div class="column1" id="pos_4"></div>
<div class="column2"></div>
<div class="column3"></div>
<div class="column4"></div>
<div class="column5"></div>
<div class="column6"></div>
<div class="column7"></div>
<div class="column8" id="pos_17"></div>
</div><div class="row6" style="color: black;font-size: x-large;">
<div class="column1" id="pos_5"></div>
<div class="column2"></div>
<div class="column3"></div>
<div class="column4"></div>
<div class="column5"></div>
<div class="column6"></div>
<div class="column7"></div>
<div class="column8" id="pos_16"></div>
</div><div class="row7" style="color: black;font-size: x-large;">
<div class="column1" id="pos_6"></div>
<div class="column2"></div>
<div class="column3"></div>
<div class="column4"></div>
<div class="column5"></div>
<div class="column6"></div>
<div class="column7"></div>
<div class="column8" id="pos_15"></div>
</div><div class="row8" style="color: black;font-size: x-large;">
<div class="column1" id="pos_7"></div>
<div class="column2" id="pos_8"></div>
<div class="column3" id="pos_9"></div>
<div class="column4" id="pos_10"></div>
<div class="column5" id="pos_11"></div>
<div class="column6" id="pos_12"></div>
<div class="column7" id="pos_13"></div>
<div class="column8" id="pos_14">Player B starts here...</div>
</div>
<div class="rcontainer">
<p>Click on the dice/number to roll...</p>
<button type="button" id="dice" onclick="roll()"><img src="dice.png" alt="Roll dice!" width="100rem"></button>
<p id="i"></p>
<p></p>
<button id="i1" class="i1" onclick="move1()">1</button>
<button id="i1" class="i1" onclick="move2()">2</button>
<button id="i1" class="i1" onclick="move3()">3</button>
<button id="i1" class="i1" onclick="move4()">4</button>
<p id="player" style="text-align: center; color: rgba(0, 0, 0, 0.83);">It's Red's turn</p>
</div>
</div>
</body>
</html>