From 9cb28a5475ca971e404e10e79e5c7d03da9ad91e Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Sat, 25 Jul 2026 13:14:13 -0700 Subject: Rename stallman-shooter to RMS shooter --- roseh.moe.go | 4 ++-- static/games/rms/gates.js | 2 +- static/games/rms/main.js | 4 ++-- static/games/rms/player.js | 2 +- static/games/rms/state.js | 6 +++--- templates/games/index.html.template | 2 +- 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 @@
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"}} Stallman shooter - - - - - + + + + + {{end}} - - - - - - - + + + + + + +
-- cgit v1.3.1