aboutsummaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2025-02-09 17:25:59 +0000
committerJuan J. Martinez <jjm@usebox.net>2025-02-09 17:25:59 +0000
commit6f5fa0b5240d6edd3bce72ea1549e4cd9b0ce2bc (patch)
tree44ebe6f5cfb1eb9214c5877342c7914de07f215a /index.html
downloadjs-twin-shooter-6f5fa0b5240d6edd3bce72ea1549e4cd9b0ce2bc.tar.gz
js-twin-shooter-6f5fa0b5240d6edd3bce72ea1549e4cd9b0ce2bc.zip
Initial import
Diffstat (limited to 'index.html')
-rw-r--r--index.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..1a3c38e
--- /dev/null
+++ b/index.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="UTF-8">
+ <title>Game</title>
+ <style>
+ body {
+ background: #000;
+ color: #fff;
+ font-family: sans-serif;
+ text-align: center;
+ padding: 0;
+ margin: 0;
+ }
+ a {
+ color: #66f;
+ }
+ #game {
+ cursor: none;
+ }
+ </style>
+ </head>
+ <body>
+ <script type="text/javascript" src="js/game.js"></script>
+ <script type="text/javascript" src="js/mygame.js"></script>
+ <script type="text/javascript" src="js/main.js"></script>
+ <p>Move: Cursors (or D-Pad) / Fire: WASD (or ABCD buttons) - This game is <a href="https://git.usebox.net/js-twin-shooter/about/">open source</a>!</p>
+ <canvas id="game"></canvas>
+ </body>
+</html>