diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2026-07-25 13:14:13 -0700 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2026-07-25 13:14:13 -0700 |
| commit | 9cb28a5475ca971e404e10e79e5c7d03da9ad91e (patch) | |
| tree | 69bcafcce20a13781425b7fff10f679e7afa24da | |
| parent | 8ae0ffadb9d33abf150f3a7ead662415b2e3dd4e (diff) | |
| download | roseh.moe-9cb28a5475ca971e404e10e79e5c7d03da9ad91e.tar.zst | |
Rename stallman-shooter to RMS shooter
| -rw-r--r-- | roseh.moe.go | 4 | ||||
| -rw-r--r-- | static/games/rms/gates.js | 2 | ||||
| -rw-r--r-- | static/games/rms/main.js | 4 | ||||
| -rw-r--r-- | static/games/rms/player.js | 2 | ||||
| -rw-r--r-- | static/games/rms/state.js | 6 | ||||
| -rw-r--r-- | templates/games/index.html.template | 2 | ||||
| -rw-r--r-- | templates/games/rms.html.template | 24 |
7 files changed, 22 insertions, 22 deletions
diff --git a/roseh.moe.go b/roseh.moe.go index f16ae55..9404070 100644 --- a/roseh.moe.go +++ b/roseh.moe.go @@ -213,7 +213,7 @@ func pong(w http.ResponseWriter, _ *http.Request) { } var ( - //go:embed templates/games/stallman-shooter.html.template + //go:embed templates/games/rms.html.template stallmanShooterString string stallmanShooterTemplate = template.Must(outlinedTemplate(stallmanShooterString)) ) @@ -923,7 +923,7 @@ func main() { mux.HandleFunc("GET /{$}", index) mux.HandleFunc("GET /games/", gamesIndex) mux.HandleFunc("GET /games/pong", pong) - mux.HandleFunc("GET /games/stallman", stallmanShooter) + mux.HandleFunc("GET /games/rms", stallmanShooter) mux.HandleFunc("GET /qr.png", qrHandler) mux.HandleFunc("GET /wormhole", wormhole) mux.HandleFunc("POST /wormhole", wormholeUpload) diff --git a/static/games/rms/gates.js b/static/games/rms/gates.js index c307f1e..4ec1955 100644 --- a/static/games/rms/gates.js +++ b/static/games/rms/gates.js @@ -1,4 +1,4 @@ -import * as constants from '/static/games/stallman-shooter/constants.js'; +import * as constants from '/static/games/rms/constants.js'; export class Gates { constructor() { diff --git a/static/games/rms/main.js b/static/games/rms/main.js index d3a3581..70c797d 100644 --- a/static/games/rms/main.js +++ b/static/games/rms/main.js @@ -1,5 +1,5 @@ -import * as state from '/static/games/stallman-shooter/state.js'; -import * as constants from '/static/games/stallman-shooter/constants.js'; +import * as state from '/static/games/rms/state.js'; +import * as constants from '/static/games/rms/constants.js'; let events = []; diff --git a/static/games/rms/player.js b/static/games/rms/player.js index 83144e0..c0ff84f 100644 --- a/static/games/rms/player.js +++ b/static/games/rms/player.js @@ -1,4 +1,4 @@ -import * as constants from '/static/games/stallman-shooter/constants.js'; +import * as constants from '/static/games/rms/constants.js'; export class Player { constructor() { diff --git a/static/games/rms/state.js b/static/games/rms/state.js index f184c3e..0ec0586 100644 --- a/static/games/rms/state.js +++ b/static/games/rms/state.js @@ -1,6 +1,6 @@ -import * as player from '/static/games/stallman-shooter/player.js'; -import * as gates from '/static/games/stallman-shooter/gates.js'; -import * as constants from '/static/games/stallman-shooter/constants.js'; +import * as player from '/static/games/rms/player.js'; +import * as gates from '/static/games/rms/gates.js'; +import * as constants from '/static/games/rms/constants.js'; export function straight_bullet_act(straight_bullet) { const x = straight_bullet.x; diff --git a/templates/games/index.html.template b/templates/games/index.html.template index a2e930b..917a0c9 100644 --- a/templates/games/index.html.template +++ b/templates/games/index.html.template @@ -3,6 +3,6 @@ <section> <ul> <li><a href="/games/pong">Pong</a> (warning: loud)</li> - <li><a href="/games/stallman">Stallman shooter</a></li> + <li><a href="/games/rms">RMS shooter</a></li> </ul> </section> diff --git a/templates/games/rms.html.template b/templates/games/rms.html.template index bf1f843..7da89ec 100644 --- a/templates/games/rms.html.template +++ b/templates/games/rms.html.template @@ -1,19 +1,19 @@ {{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> + <link rel="modulepreload" href="/static/games/rms/constants.js"> + <link rel="modulepreload" href="/static/games/rms/gates.js"> + <link rel="modulepreload" href="/static/games/rms/player.js"> + <link rel="modulepreload" href="/static/games/rms/state.js"> + <script type="module" src="/static/games/rms/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> +<img id="introduction" src="/static/games/rms/assets/introduction.webp" hidden> +<img id="loss" src="/static/games/rms/assets/loss.webp" hidden> +<img id="victory" src="/static/games/rms/assets/victory.webp" hidden> +<img id="stallman" src="/static/games/rms/assets/stallman.webp" hidden> +<img id="gates" src="/static/games/rms/assets/gates.webp" hidden> +<img id="binary-blob" src="/static/games/rms/assets/binary_blob.webp" hidden> +<img id="player-pepp" src="/static/games/rms/assets/player_pepp.webp" hidden> <section> <canvas id="canvas" width="800" height="600"></canvas> |
