blob: af634adc68d33a251b5b981ddc6e1fc5490ae87d (
plain) (
blame)
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
|
<!DOCTYPE html>
<html lang="en">
<head>
<title>Plains</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Help little black square rescue the villagers, and battle the monsters.">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: #f0f0f0;
overflow: hidden;
}
canvas {
display: block;
width: 100vw;
height: 100vh;
}
</style>
</head>
<body>
<canvas id="gameCanvas"></canvas>
<a href="about.html" style="position: absolute; top: 12px; right: 12px; color: black; text-decoration: underline; font-size: 16px;">About</a>
<script src="enemies.js"></script>
<script src="game.js"></script>
</body>
</html>
|