summaryrefslogtreecommitdiffstats
path: root/templates/pong.html.template
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2024-10-18 08:37:36 -0700
committerRose Hogenson <rosehogenson@posteo.net>2024-10-18 17:06:58 -0700
commit6f2519f5229ed8f037f0c062490cd2191e57da9c (patch)
tree1b2511a52251cfcea801d917e1ae4ae3bfd11bf9 /templates/pong.html.template
parentUse http.ServeContent (diff)
downloadroseh.moe-6f2519f5229ed8f037f0c062490cd2191e57da9c.tar.zst
Add a game.
Diffstat (limited to 'templates/pong.html.template')
-rw-r--r--templates/pong.html.template11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/pong.html.template b/templates/pong.html.template
new file mode 100644
index 0000000..e7a00c4
--- /dev/null
+++ b/templates/pong.html.template
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html lang="en" style="width:100%;height:100%;margin:0;padding:0">
+ <head>
+ <title>Pong</title>
+ <!-- TODO: page icon? -->
+ <script defer src="/static/pong.js"></script>
+ </head>
+ <body style="width:100%;height:100%;margin:0;padding:0">
+ <canvas id="pong" style="display:block;margin:0;padding:0"></canvas>
+ </body>
+</html>