forked from Pa163361/Pa163361.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex2.html
More file actions
26 lines (26 loc) · 726 Bytes
/
index2.html
File metadata and controls
26 lines (26 loc) · 726 Bytes
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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8" />
<title>PacMan</title>
<link rel="stylesheet" href="styles.css" />
<script src="app.js" charset="utf-8"></script>
</head>
<body>
<div class="overlay-screen" id="start-screen">
<h1>PACMAN</h1>
<h2 id="start-msg">Press ENTER to start</h2>
<h2>Use arrow keys to move</h2>
</div>
<div class="game-container">
<div class="grid"></div>
<h2>Score:<span id="score">0</span></h2>
</div>
<div class="overlay-screen" id="game-over-screen">
<span>GAME OVER!</span>
</div>
<div class="overlay-screen" id="you-won-screen">
<span>YOU WON!</span>
</div>
</body>
</html>