-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplay.html
More file actions
28 lines (28 loc) · 1.17 KB
/
Copy pathplay.html
File metadata and controls
28 lines (28 loc) · 1.17 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./game_style.css">
<title>Number Chompers</title>
</head>
<body>
<h1>Number Chompers</h1>
<div id="container">
<aside id="top-left"><h2><span id="level-num"></span></h2></aside>
<aside id="top-right"><h2><span id="factor-num"></span></h2></aside>
<main>
<canvas id="gameWindow" width="700px" height="500px"></canvas>
</main>
<aside id="btm-left"><h2><span id="score-num"></span></h2></aside>
<aside id="btm-right"><h2><span id="lives-num"></span></h2></aside>
</div>
<img src="assets/chomper.png" id="chomper_img">
<img src="assets/enemy.png" id="enemy_img">
<script src="./index.js" type="module"></script>
</body>
</html>