-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (57 loc) · 2.05 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" href="indexstyle.css">
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet'>
<link rel="shortcut icon" href="#">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/p5.js"></script>
<title>the art collector game</title>
</head>
<body >
<div>
<div class="masthead">
<img class="img" src="assets/The-Art-Collector-masthead.png" alt="The Art Collector The-Art-Collector-masthead" width="500">
</div>
<div class="subtitle">
<h2>Collect all the art as fast as you can!</h2>
</div>
<div class="instructions">
<p>Add value to your collection by grabbing the paintings. <br>
But make sure you don't knock over the sculptures!</p>
<h3>Press return ↵ to start</h3>
</p>
</div>
<div class="scoreboard">
<p id="countdown">Countdown: 00:00</p>
<p id="score">Collection Value: $0.00</p>
</div>
<div id="canvas" class ="hidden"></div>
<div>
<script src="./js/constants.js"></script>
<script src="./js/countdown.js"></script>
<script src="./js/obstacle.js"></script>
<script src="./js/token.js"></script>
<script src="./js/background.js"></script>
<script src="./js/player.js"></script>
<script src="./js/game.js" ></script>
<script src="./js/main.js" ></script>
</div>
<div class="controls">
<div >
<h2>Keyboard Controls</h2>
<p>Spacebar _ jump / boost up <br>
→ walk forward <br>
← walk backward <br>
</div>
<div>
<a class="button" href='index.html'>Restart Game</a>
</div>
</div>
</div>
</body>
<footer class="footer">
<p>Made with ♥ by Simon Gowing</p>
</footer>
</html>