diff --git a/README.md b/README.md index 24fbb16..5906f9c 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This repository contains the static Swedish web client for the AI-driven life si Players provide a character biography, not a world description. The client asks the backend to create a biography-based starting place. It does not preview a person the player may meet; encounters belong to later world exploration. -Place descriptions are available as text with separate visual, sound, smell, air/temperature, touch/surface, and spatial-orientation cues so important scene information does not depend on sight. The current product has no image input or image interpretation flow; these cues are generated as part of the place proposal. +The game is text- and dialogue-based and uses no images. Place descriptions include sound, smell, air/temperature, touch/surface, and spatial-orientation cues. Visible details may also be described in words, but are never required to understand the scene or play. The browser and API stay on the same public origin, `https://ai-spel.k3s.k0.nu`. The ingress routes `/` to this frontend service and routes `/api`, `/version`, and `/health` to the Rust service. That keeps the current server-side session cookie same-origin and avoids browser CORS configuration. diff --git a/index.html b/index.html index 9a90ceb..81324cb 100644 --- a/index.html +++ b/index.html @@ -29,6 +29,7 @@

En värld du formar

+

Spelet är text- och dialogbaserat och använder inga bilder. Miljöer beskrivs med ljud, dofter, temperatur, beröring och orientering, inte bara med synintryck.

Skapa en vuxen person och forma en egen vardag. AI-förslag sparas inte förrän du har granskat och godkänt dem.

@@ -60,7 +61,7 @@

Platsens sinnesintryck

-
Synintryck
+
Utseende beskrivet i ord
Ljud
Dofter
Luft och temperatur
diff --git a/scripts/check-frontend.sh b/scripts/check-frontend.sh index 71a3622..8299fcc 100755 --- a/scripts/check-frontend.sh +++ b/scripts/check-frontend.sh @@ -4,6 +4,7 @@ set -euo pipefail test -s index.html grep -q '' index.html grep -q '

En värld du formar

' index.html +grep -q 'text- och dialogbaserat och använder inga bilder' index.html grep -q 'id="frontend-version">__FRONTEND_VERSION__' index.html grep -q "request('/version')" index.html grep -q 'id="api-version"' index.html