-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
33 lines (32 loc) · 1.01 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<title>Red Light Green Light Game</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div id="game">
<div id="status">
<h1>Red Light Green Light - Cross the finish line to win!</h1>
<span id="timer">Time: 30</span>
</div>
<div id="game-board">
<div id="player"></div>
<div id="game-master"></div>
<div id="finish-line"></div>
<div id="controls">
<button id="up" class="control-btn">▲</button>
<div>
<button id="left" class="control-btn">◀</button>
<button id="down" class="control-btn">▼</button>
<button id="right" class="control-btn">▶</button>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>