-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·79 lines (70 loc) · 3.09 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link href="https://fonts.googleapis.com/css?family=Lato:100,300,600" rel="stylesheet" type="text/css">
<link href="http://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css" rel="stylesheet" type="text/css">
<link type="text/css" rel="stylesheet" href="style.css">
<title>Simple Dice Games</title>
</head>
<body>
<div class="wrapper clearfix">
<div class="modal">
<div class="closes">
<span class="close"> ×</span>
</div>
<h2>START NEW GAME</h2>
<div class="form-group">
<label for="name1">Player 1</label>
<input type="text" id="name1" class="form-control" required>
</div>
<div class="form-group">
<label for="name1">Player 2</label>
<input type="text" id="name2" class="form-control" required>
</div>
<div class="form-group">
<label for="name1">Score To Win</label>
<input type="number" id="scoreWin" class="form-control" required>
</div>
<div class="form-group">
<button class="btn-start">Start</button>
</div>
</div>
<div class="modal" id="isDiceOne" style="height:70%">
<div class="closes">
<span class="close"> ×</span>
</div>
<h2>OOooppsss !!</h2>
<img src="dice-1.png" width="100" alt="Dice" style="margin-top:-50px" class="dice">
<p style="margin-top:150px;margin-bottom:30px;">
You Got number 1 on the dice.so that your current score will be reset. And Next player wil be roll the
dice.
</p>
<div class="form-group">
<button class="btn-start" id="btn-okay">Okay</button>
</div>
</div>
<div class="player-0-panel active">
<div class="player-name" id="name-0">Player 1</div>
<div class="player-score" id="score-0">0</div>
<div class="player-current-box">
<div class="player-current-label">Current</div>
<div class="player-current-score" id="current-0">0</div>
</div>
</div>
<div class="player-1-panel">
<div class="player-name" id="name-1">Player 2</div>
<div class="player-score" id="score-1">0</div>
<div class="player-current-box">
<div class="player-current-label">Current</div>
<div class="player-current-score" id="current-1">0</div>
</div>
</div>
<button class="btn-new"><i class="ion-ios-plus-outline"></i>New game</button>
<button class="btn-roll"><i class="ion-ios-loop"></i>Roll dice</button>
<button class="btn-hold"><i class="ion-ios-download-outline"></i>Hold</button>
<img src="dice-1.png" alt="Dice" id="dice" class="dice">
</div>
<script src="app.js"></script>
</body>
</html>