-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
89 lines (73 loc) · 3.87 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
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html>
<head>
<title>Reversi</title>
<link href="https://fonts.googleapis.com/css?family=Archivo+Black&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=DM+Serif+Display&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Leckerli+One&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Indie+Flower&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="style.css">
<script>
var beep = new Audio();
var place = new Audio();
var invalid = new Audio();
beep.src = "audio/button-21.mp3";
place.src = "audio/button-16.mp3"
invalid.src = "audio/button-24.mp3"
</script>
</head>
<body>
<iframe src="audio/250-milliseconds-of-silence.mp3" allow="autoplay" id="audio" style="display:none"></iframe>
<audio id="player" autoplay loop volume="0.1">
<source src="audio/Ryuichi Sakamoto Merry Christmas, Mr. Lawrence (Piano Cover).mp3" type="audio/mp3">
</audio>
<div class="header"><span class="black-letter">R</span><span class="white-letter">E</span><span class="black-letter">V</span><span class="white-letter">E</span><span class="black-letter">R</span><span class="white-letter">S</span><span class="black-letter">I</span></div>
<div class="main-container">
<dir class="main-page-container">
<button class="selections" onmousedown="beep.play()" id="single-player">Single Player</button>
<button class="selections" onmousedown="beep.play()"id="2-players">2 Players</button>
<button class="selections" onmousedown="beep.play()"id="demo">Demo</button>
</dir>
</div>
<div class="score-container">
<div class="score-inner-container">
<div class="name" id="player-name">AI - Black</div>
<div class="tile-container">
<div class="glow" id="glow-1">
<span></span>
<span></span>
<span></span>
<span></span>
</div>
<div class="score-tile score-black">
<div class="score" id="black-score">2</div>
</div>
</div>
</div>
<div class="score-inner-container">
<div class="name" id="bot-name">AI - White</div>
<div class="tile-container">
<div class="glow" id="glow-2">
<span></span>
<span></span>
<span></span>
<span></span>
</div>
<div class="score-tile score-white">
<div class="score" id="white-score">2</div>
</div>
</div>
</div>
</div>
<div class="dark-shroud">
<div class="win-lose-draw">You Win!</div>
<div class="result-container">
<button class="name result-selections" id="stay" onmousedown="beep.play()" onclick="takeOffShroud()">Stay</button>
<button class="name result-selections" id="restart" onmousedown="beep.play()" onclick="restart()">Restart</button>
<button class="name result-selections" id="menu" onmousedown="beep.play()" onclick="initAllBackToMainPage()">Menu</button>
</div>
</div>
<img onmousedown="beep.play()" class= "settings"src="http://icons.iconarchive.com/icons/dtafalonso/android-l/128/Settings-L-icon.png" onclick="takeOutSettings()">
<script type="text/javascript" src="script.js"></script>
</body>
</html>