diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2026-07-25 10:58:28 -0700 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2026-07-25 10:59:30 -0700 |
| commit | de5b309e0f06e93a963e09ef13c369ae7deeccc9 (patch) | |
| tree | 87f0dec5650648640c6fc3119f32f7631b323f53 /templates/games/stallman-shooter.html.template | |
| parent | 0e9b550cbeec4192dff7f760936fe1d85056a5f6 (diff) | |
| download | roseh.moe-de5b309e0f06e93a963e09ef13c369ae7deeccc9.tar.zst | |
Port a game I wrote a long time ago to JS
Diffstat (limited to 'templates/games/stallman-shooter.html.template')
| -rw-r--r-- | templates/games/stallman-shooter.html.template | 20 |
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> |
