-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (42 loc) · 1.69 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Pacman ball game</title>
<link href="https://fonts.googleapis.com/css?family=Limelight" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="./css/style.css">
<link rel="stylesheet" type="text/css" href="./css/ionicons.min.css">
<script src="./js/bundle.js"></script>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
</head>
<body>
<div class="row">
<div class='game'>
<h1 id='title'>Pacman ball</h1>
<h3 id='score'>PACMAN: 0 GHOST: 0</h3>
<p id='pause-message'>PLEASE PRESS SPACE TO START</p>
<i id='volume' onclick='volumeClick()' class="volume icon ion-android-volume-up"></i>
<div id='root'>
</div>
</div>
<div class='controls'>
<i id='play' onclick='clickPlay()' class='play icon ion-ios-play-outline'></i>
<i id='pause' onClick='clickPause()' class='pause icon ion-ios-pause-outline'></i>
<i id='reset' onClick='resetGame()' class='reset icon ion-ios-refresh'></i>
</div>
<div class="instructions">
<h1>Instructions:</h1>
<ul>
<li>Use your arrow keys to move Pacman around the field.</li>
<li>Moving pacman continuously to one of the walls will bring
it to the opposite wall.</li>
<li>The game is complele when pacman or ghost gets 11 points.</li>
</ul>
</div>
<div class='my-links'>
<a href='https://github.com/Alspirid'><img src='images/github-color.svg'></a>
<a href='https://www.linkedin.com/in/alspirid/'><img src='images/linkedin-color.svg'/></a>
</div>
</div>
</body>
</html>