-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
80 lines (78 loc) · 2.77 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Infinity Jump</title>
<link rel="shortcut icon" href="./images/favicon.png" />
<link rel="stylesheet" href="./styles/style.css" />
</head>
<body>
<a href="https://www.linkedin.com/in/ariannavalle/" id="linkedin-icon">
<img src="./images/linkedin-icon.png" alt="Arianna's LinkedIn" width="30px" height="30px"/>
</a>
<a href="https://github.com/ariannavalle" id="github-icon">
<img src="./images/github-icon.png" alt="Arianna's Github" width="33px" height="34px"/>
</a>
<div id="game-board">
<div id="game-intro">
<content>
<h1>Infinity Jump</h1>
<h2>
Instructions: Use the left and right arrow keys to navigate through
the platforms.
<br>
</h2>
<p>
But be careful! Not all platforms are the same, and you might
encounter some scary creatures along the way.
</p>
<div id="info">
<div>
<h3>
<div><u>Look out for these</u></div>
<br>
<div id="platform-info">
These platforms disappear
<img src="./images/disappearing-platform.png" width="100" height="27" alt="disappearing platform"/>
<br>
These platforms explode
<img src="./images/exploding-00.png" width="100" height="27" alt="exploding platform"/>
<br>
Springs will boost you up
<img src="./images/spring.png" width="30" height="30" alt="a spring"/>
</div>
</h3>
</div>
<div>
<div>
<h3><u>Avoid crashing into these monsters</u></h3>
</div>
<br>
<img src="./images/enemy-00.png" width="100" height="80" alt="enemy"/>
<img src="./images/enemy-01.png" width="100" height="80" alt="another enemy"/>
<br>
<img src="./images/enemy-02.png" width="100" height="80" alt="another emeny"/>
</div>
</div>
<br><br>
<h2 class="blinking">Choose a player to start</h2>
<div id="players">
<img src="./images/space-right.png" alt="doodler" id="doodler" class="grow"/>
<img src="./images/rona-00.png" alt="rona" width="100" height="100" id="rona" class="grow"/>
<img src="./images/nyan.png" alt="nyan" width="100" height="100" id="nyan" class="grow"/>
</div>
</content>
</div>
<img src="./images/play-again.png" alt="play again" id="play-again">
<canvas id="canvas" width="800" height="850"></canvas>
</div>
<script src="js/frames.js"></script>
<script src="js/game.js"></script>
<script src="js/component.js"></script>
<script src="js/platform.js"></script>
<script src="js/particle.js"></script>
<script src="js/player.js"></script>
<script src="js/index.js"></script>
</body>
</html>