-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
57 lines (51 loc) · 2.05 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
<!DOCTYPE html>
<html>
<head>
<link href="css/bootstrap.css" rel="stylesheet" type="text/css">
<link href="css/style.css" rel="stylesheet" type="text/css">
<script src="js/jquery-3.2.0.js"></script>
<script src="js/scripts.js"></script>
<title>Pig Dice Game</title>
</head>
<body>
<div class="start-menu container">
<div class="jumbotron">
<h1>Let's play Pig Dice!</h1>
<form id="player-1">
<div class="form-group">
<label for="player1Name">Player 1 Name:</label>
<input required class="player1Name form-control" type="text">
</div>
</form>
<form id="player-2">
<div class="form-group">
<label for="player2Name">Player 2 Name:</label>
<input required class="player2Name form-control" type="text">
</div>
</form>
<button id="start" class="btn-info btn">Start</button>
</div>
</div>
<div class="player-console container">
<button id="new-game" class="btn-success btn">NEW GAME</button>
<div class = "row">
<div class="col-md-6">
<h2>Player 1: <span id = "player1Name"><span></h2>
<button id="player1-roll" class="btn-success btn">Roll</button>
<button id="player1-hold" class="btn-success btn">Hold</button>
<h2>Dice Roll: <span id="die-roll-1"></span></h2>
<p>Round Total: <span id="round-total-1"></span></p>
<p>Total Score: <span id="total-score-1"></span></p>
</div>
<div class="col-md-6">
<h2>Player 2: <span id = "player2Name"><span></h2>
<button id="player2-roll" class="btn-success btn">Roll</button>
<button id="player2-hold" class="btn-success btn">Hold</button>
<h2>Dice Roll: <span id="die-roll-2"></span></h2>
<p>Round Total: <span id="round-total-2"></span></p>
<p>Total Score: <span id="total-score-2"></span></p>
</div>
</div>
</div>
</body>
</html>