-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
81 lines (58 loc) · 3.6 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 lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
<!-- Google fonts-->
<link href="https://fonts.googleapis.com/css?family=Saira+Extra+Condensed:500,700" rel="stylesheet" type="text/css" />
<link href="https://fonts.googleapis.com/css?family=Muli:400,400i,800,800i" rel="stylesheet" type="text/css" />
<!-- icon-->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<!--external css-->
<link rel="stylesheet" href="pig-game.css">
<title>Pig Game</title>
</head>
<body class="color-change-2x ">
<div class="container align-items-center">
<div class="row ">
<h1 class="bg-light p-3 heading mt-5">Pig-Game</h1>
<!-- [ <span class="bg-light p-3 ">Rule : If There is a 1 then the player will be changed. </span>]-->
<div class="col-sm-4 bg-light player-0-panel active mt-4">
<h3 class="player-name m-4 player-1" id="name-0">PLAYER-1</h3>
<h3 class="player-score" id="score-0">0</h3>
<div class="player-current-box m-5">
<h3 class="player-current-label ">Current</h3>
<h3 class="player-current-score bg-danger text-light" id="current-0">0</h3>
</div>
</div>
<div class="col-sm-4 bg-light mt-4">
<button class=" btn-new btn rounded-0 m-4 font-size start-game" type="button">➕ New Game</button>
<div class="d-flex justify-content-center">
<img src="dice-5.png" alt="Dice" class="dice" id="dice-1">
</div>
<button class="btn-roll btn rounded-0 m-3 font-size">🔄 Roll dice</button>
<button class="btn-hold btn rounded-0 m-3 font-size">⏸️ Hold</button>
</div>
<div class="col-sm-4 bg-light player-1-panel mt-4">
<h3 class="player-name m-4 player-2" id="name-1">PLAYER-2</h3>
<h3 class="player-score" id="score-1">0</h3>
<div class="player-current-box m-5">
<h3 class="player-current-label">Current</h3>
<h3 class="player-current-score bg-danger text-light" id="current-1">0</h3>
</div>
</div>
</div>
</div>
<script src="pig-game.js"></script>
<!-- Optional JavaScript; choose one of the two! -->
<!-- Option 1: Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW" crossorigin="anonymous"></script>
<!-- Option 2: Separate Popper and Bootstrap JS -->
<!--
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-q2kxQ16AaE6UbzuKqyBE9/u/KzioAlnx2maXQHiDX9d4/zp8Ok3f+M7DPm+Ib6IU" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-pQQkAEnwaBkjpqZ8RU1fF1AKtTcHJwFl3pblpTlHXybJjHpMYo79HY3hIi4NKxyj" crossorigin="anonymous"></script>
-->
</body></html>