summaryrefslogtreecommitdiffstats
path: root/templates/games/stallman-shooter.html.template
diff options
context:
space:
mode:
Diffstat (limited to 'templates/games/stallman-shooter.html.template')
-rw-r--r--templates/games/stallman-shooter.html.template20
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/games/stallman-shooter.html.template b/templates/games/stallman-shooter.html.template
new file mode 100644
index 0000000..bf1f843
--- /dev/null
+++ b/templates/games/stallman-shooter.html.template
@@ -0,0 +1,20 @@
+{{define "head"}}
+ <title>Stallman shooter</title>
+ <link rel="modulepreload" href="/static/games/stallman-shooter/constants.js">
+ <link rel="modulepreload" href="/static/games/stallman-shooter/gates.js">
+ <link rel="modulepreload" href="/static/games/stallman-shooter/player.js">
+ <link rel="modulepreload" href="/static/games/stallman-shooter/state.js">
+ <script type="module" src="/static/games/stallman-shooter/main.js"></script>
+{{end}}
+
+<img id="introduction" src="/static/games/stallman-shooter/assets/introduction.webp" hidden>
+<img id="loss" src="/static/games/stallman-shooter/assets/loss.webp" hidden>
+<img id="victory" src="/static/games/stallman-shooter/assets/victory.webp" hidden>
+<img id="stallman" src="/static/games/stallman-shooter/assets/stallman.webp" hidden>
+<img id="gates" src="/static/games/stallman-shooter/assets/gates.webp" hidden>
+<img id="binary-blob" src="/static/games/stallman-shooter/assets/binary_blob.webp" hidden>
+<img id="player-pepp" src="/static/games/stallman-shooter/assets/player_pepp.webp" hidden>
+
+<section>
+ <canvas id="canvas" width="800" height="600"></canvas>
+</section>