about summary refs log tree commit diff stats
path: root/html/plains/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/plains/index.html')
-rw-r--r--html/plains/index.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/html/plains/index.html b/html/plains/index.html
new file mode 100644
index 0000000..af634ad
--- /dev/null
+++ b/html/plains/index.html
@@ -0,0 +1,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>
+