-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (38 loc) · 1.32 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>
<link rel="stylesheet" href="./css/bootstrap.css">
<link rel="stylesheet" href="./css/styles.css">
<script src="./js/jquery-3.4.1.js"></script>
<script src="./js/scripts.js"></script>
<title>Pig Dice</title>
</head>
<body>
<div class="container">
<h1>Pig Dice</h1>
<!--Player Scores-->
<center><h2>Game display</h2>
<p>turn: <span id="p1Turn"></span></p>
<p>roll: <span id="p1Roll"></span></p></center>
<div class="row">
<div class="col-md-6">
<h2>Player 1</h2>
<p>total: <span id="p1Total"></span></p>
<div id="playerOneTurn"><h4>Your turn</h4></div>
</div>
<div class="col-md-6">
<h2>Player 2</h2>
<p>total: <span id="p2Total"></span></p>
<div id= "playerTwoTurn"><h4>Your turn</h4></div>
</div>
</div> <!--Row end-->
<!--Dice Roll-->
<div id="rollBox"></div><br>
<center><button id="roll">Roll the Dice</button></center><br>
<center><button id="hold">Hold</button></center><br>
<center><button id="start"> Start New Game</button></center>
<div id= "winner">
</div>
</div> <!--Container end-->
</body>
</html>