mirror of
https://github.com/Dasemu/si-no-o-indiferente.git
synced 2026-11-26 23:36:25 +00:00
Renames the game to "Sí, no, o indiferente" across the app, README, Capacitor config and Android strings. Replaces the dark-purple theme with a distinct case-file/dossier look (monospace type, black/cream/red palette, stamped difficulty badges, stacked-card shadows). Removes the progressive hint system and the two-step solution confirmation: the narrator's solution is now always rendered, gated only by a blur show/hide toggle with a "Confidencial" stamp. Adds a back button from the narrator screen to the picker (without marking the story as used), drops dev-facing cruft (story source/count badge), converts remaining UI copy to Peninsular Spanish, and adds a post-game screen where players can optionally rate a story's difficulty (1-5), sent to the new backend ratings endpoint.
905 B
905 B
Frontend — Sí, no, o indiferente
React + Vite app. Packaged as a website and, with Capacitor, as an Android APK.
Development
npm install
cp .env.example .env # VITE_API_URL pointing to your backend
npm run dev
Web build
npm run build # generates dist/
APK (Capacitor)
See the full instructions in the
root README.
Summary: npm run cap:sync (build + cap sync android) and then
npm run android:open, or cd android && ./gradlew assembleDebug with the
Android SDK/JDK installed.
Relevant structure
src/api.ts— fetches the story deck from the backend, with fallback to the local cache and the embedded default set.src/data/defaultStories.json— default stories (original content).src/screens/— Home, story picker, and narrator view.capacitor.config.ts— native app config.