-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplay.html
69 lines (64 loc) · 2.69 KB
/
play.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<!-- Tell browsers not to scale the viewport automatically -->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Simon</title>
<link rel="icon" href="favicon.ico" />
<link rel="stylesheet" href="main.css" />
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi"
crossorigin="anonymous"
/>
</head>
<body class="bg-dark text-light">
<header class="container-fluid">
<nav class="navbar fixed-top navbar-dark">
<a class="navbar-brand" href="#">Simon<sup>®</sup></a>
<menu class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="play.html">Play</a>
</li>
<li class="nav-item">
<a class="nav-link" href="scores.html">Scores</a>
</li>
<li class="nav-item">
<a class="nav-link" href="about.html">About</a>
</li>
</menu>
</nav>
</header>
<main class="bg-secondary">
<div class="players">
Player:
<span class="player-name"></span>
</div>
<div class="game">
<div class="button-container">
<button id="green" class="game-button button-top-left" onclick="game.pressButton(this)"></button>
<button id="red" class="game-button button-top-right" onclick="game.pressButton(this)"></button>
<button id="yellow" class="game-button button-bottom-left" onclick="game.pressButton(this)"></button>
<button id="blue" class="game-button button-bottom-right" onclick="game.pressButton(this)"></button>
<div class="controls center">
<div class="game-name">Simon<sup>®</sup></div>
<div id="score" class="score center">--</div>
<button class="btn btn-primary" onclick="game.reset()">Reset</button>
</div>
</div>
</div>
</main>
<footer class="bg-dark text-dark text-muted">
<div class="container-fluid">
<span class="text-reset">Jared Wilson</span>
<a class="text-reset" href="https://github.com/jareddwilson32/simon">Github</a>
</div>
</footer>
<script src="play.js"></script>
</body>
</html>