-
Notifications
You must be signed in to change notification settings - Fork 163
/
index.html
105 lines (92 loc) · 4.13 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8" />
<title>Pacman</title>
<link rel="stylesheet" href="design/style.css" />
<script src="source/Data.js"></script>
<script src="source/Display.js"></script>
<script src="source/Food.js"></script>
<script src="source/Fruit.js"></script>
<script src="source/Blob.js"></script>
<script src="source/HighScores.js"></script>
<script src="source/board/Board.js"></script>
<script src="source/board/Canvas.js"></script>
<script src="source/board/BoardCanvas.js"></script>
<script src="source/board/GameCanvas.js"></script>
<script src="source/score/ScoreBlob.js"></script>
<script src="source/score/Score.js"></script>
<script src="source/ghosts/Ghosts.js"></script>
<script src="source/ghosts/Ghost.js"></script>
<script src="source/ghosts/Blinky.js"></script>
<script src="source/ghosts/Clyde.js"></script>
<script src="source/ghosts/Inky.js"></script>
<script src="source/ghosts/Pinky.js"></script>
<script src="source/animations/Animations.js"></script>
<script src="source/animations/Animation.js"></script>
<script src="source/animations/DeathAnimation.js"></script>
<script src="source/animations/EndLevelAnimation.js"></script>
<script src="source/animations/FruitScoreAnimation.js"></script>
<script src="source/animations/GameOverAnimation.js"></script>
<script src="source/animations/GhostScoreAnimation.js"></script>
<script src="source/animations/NewLevelAnimation.js"></script>
<script src="source/animations/PausedAnimation.js"></script>
<script src="source/animations/ReadyAnimation.js"></script>
<script src="source/demo/Demo.js"></script>
<script src="source/demo/DemoData.js"></script>
<script src="source/demo/BigBlob.js"></script>
<script src="source/demo/DemoBlob.js"></script>
<script src="source/demo/DemoFood.js"></script>
<script src="source/demo/DemoGhost.js"></script>
<script src="source/Init.js"></script>
<script src="utils/Sounds.js"></script>
<script src="utils/Storage.js"></script>
<script src="utils/Utils.js"></script>
</head>
<body>
<div id="container" class="mainScreen">
<canvas class="board"></canvas>
<canvas class="game"></canvas>
<canvas class="screen"></canvas>
<div class="main display">
<ul>
<li><a href="#" data-action="play"><u>S</u>tart Game</a></li>
<li><a href="#" data-action="highScores"><u>H</u>igh Scores</a></li>
<li><a href="#" data-action="help"><u>C</u>ontrols</a></li>
</ul>
<div class="audio" data-action="sound">
<div class="waves">
<div></div><div></div>
<div></div><div></div>
</div>
<div class="triangle"></div>
<div class="box"></div>
</div>
</div>
<div class="input display">
<h2>Game Over</h2>
<p>Your name:</p>
<input type="text" />
<a href="#" data-action="save">Ok</a>
<a class="restart" href="#" data-action="mainScreen"><u>N</u>ew Game</a>
</div>
<div class="high display">
<h2>High Scores</h2>
<div class="scores"></div>
<div class="none">No scores available</div>
<a class="restore" href="#" data-action="restore"><u>R</u>estore</a>
<a class="back" href="#" data-action="mainScreen"><u>B</u>ack</a>
</div>
<div class="controls display">
<h1>Controls</h1>
<ol>
<li><span>Use the arrows or WASD keys to move the blob.</span></li>
<li><span>Space or P will pause the game.</span></li>
<li><span>M will trigger the sound on or off.</span></li>
<li><span>Use the links or keys (underline letters) to navigate throught the screens.</span></li>
</ol>
<a href="#" data-action="mainScreen"><u>B</u>ack</a>
</div>
</div>
</body>
</html>