-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
80 lines (76 loc) · 2.93 KB
/
index.html
File metadata and controls
80 lines (76 loc) · 2.93 KB
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" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<!-- stylesheets goes here -->
<link rel="stylesheet" href="css/styles.css" type="text/css"/>
<title>Pixel Cat</title>
</head>
<body>
<main>
<div class="main-content">
<div>
<h1 class="pixelify-sans-headers header">
The Adventures of <span>PixelCat</span>
</h1>
</div>
<div id="logo-background">
<!-- #game-intro is initially shown on the game start screen -->
<div id="game-intro">
<img src="./images/logo.png" alt="" class="logo-img" />
<br />
<div class="game-intro-text">
<p>The PixelCat must escape Chef's kitchen of Mayhem:
Use the arrow keys to move AND avoid the flying obstacles.
Collect (flashing) treats to accumulate quest points...
Finally - You may find the door and exit (once all quest items
have been collected). Good Luck Adventurer!</p>
<img src="./images/arrows.png" alt="" class="arrows-img" />
</div>
<button id="start-button">Start Game</button>
</div>
</div>
<div id="game-container">
<div class="stats">
<h2>Stats</h2>
<p>Lives: <span id="lives">♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥</span></p>
<div class="score">
<div>Collected:</div>
<div id="score"><span >You have not collected anything</span></div>
</div>
<h2>Next Item:</h2>
<h3 id="next-token" class="pixelify-sans-headers"></h3>
</div>
<!-- #game-screen is initially hidden using CSS style display: none -->
<div id="game-screen"></div>
</div>
<!-- #game-end is initially hidden using CSS style display: none -->
<div id="game-end">
<div class="circle">
<div id="game-end-game-over">
<img src="./images/wings.png" alt="" class="wings-img" />
<h1>Game Over</h1>
</div>
<div id="game-end-winner">
<img src="./images/cup.png" alt="" class="cup-img" />
</div>
<br />
<button id="restart-button">Play Again</button>
</div>
</div>
</div>
</main>
<!-- javascript goes here -->
<script src="js/component.js"></script>
<script src="js/door.js"></script>
<script src="js/token.js"></script>
<script src="js/character.js"></script>
<script src="js/obstacle.js"></script>
<script src="js/player.js"></script>
<script src="js/game.js"></script>
<script src="js/script.js"></script>
<script src="js/sound.js"></script>
</body>
</html>