-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
executable file
·61 lines (54 loc) · 3.49 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
<!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 rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css">
<link type="text/css" rel="stylesheet" href="style.css">
<!-- Metadata -->
<meta name="description" content="Dice roll game • by Jacob Papageorgiou • Check it out, play with a friend">
<meta property="og:title" content="Dice roll game">
<meta property="og:type" content="website">
<meta property="og:url" content="https://mostmojo.github.io/dice-roll/">
<meta property="og:image" content="https://res.cloudinary.com/mostmojo/image/upload/v1560334213/dice.png">
<meta property="og:description" content="Dice roll game • by Jacob Papageorgiou • Check it out, play with a friend">
<meta property="og:site_name" content="Dice roll game">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="Dice roll game • by Jacob Papageorgiou • Check it out, play with a friend">
<meta name="author" content="@mostmojo">
<meta name="twitter:title" content="Dice roll game">
<meta name="twitter:description" content="Dice roll game • by Jacob Papageorgiou • Check it out, play with a friend">
<meta name="twitter:creator" content="Dice roll game">
<meta name="twitter:image:src" content="https://res.cloudinary.com/mostmojo/image/upload/v1560334213/dice.png">
<title>Dice Roll Game</title>
</head>
<body>
<div class="wrapper clearfix">
<div class="player-0-panel active">
<div class="player-name animated bounceInLeft delay-1.2s" id="name-0">Player 1</div>
<div class="player-score" id="score-0">43</div>
<div class="player-current-box">
<div class="player-current-label">Current</div>
<div class="player-current-score" id="current-0">11</div>
</div>
</div>
<div class="player-1-panel">
<div class="player-name animated bounceInRight delay-1.2s" id="name-1">Player 2</div>
<div class="player-score" id="score-1">72</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"><svg class="sm-icon"><use xlink:href="sprite.svg#icon-circle-with-plus"></use></svg>New game</button>
<button class="btn-roll" data-key="32"><svg class="sm-icon"><use xlink:href="sprite.svg#icon-hand"></use></svg>Roll dice</button>
<button class="btn-hold" data-key="13"><svg class="sm-icon"><use xlink:href="sprite.svg#icon-controller-paus"></use></svg>Hold</button>
<a href="https://github.com/mostmojo/dice-roll/blob/master/README.md" target="_blank" rel="noopener" class="how-to animated wobble delay-4s">How to play</a>
<input type="text" placeholder="Set winning score" class="final-score">
<img src="dice-5.png" alt="Dice" class="dice" id="dice-1">
<img src="dice-5.png" alt="Dice" class="dice" id="dice-2">
</div>
<!-- <script src="app.js"></script> -->
<script src="variation.js"></script>
</body>
</html>