12 Commits
Author SHA1 Message Date
dasemu b566f009fa chore: add MIT license 2026-11-16 19:50:22 +01:00
dasemu d223c6eb21 Merge pull request 'Ban emotional-epiphany, coincidence, and exotic-premise solutions in story prompt' (#2) from claude/gemini-model-update-26af8d into main
Reviewed-on: #2
2026-08-26 09:47:56 +00:00
dasemu 0290fb224b Ban exotic unreachable premises and physically impossible props in prompt
Another observed failure: solution invents an exotic, unclued backstory
(astronaut returning from a space mission) to justify the twist, and repurposes
a mundane object (a nightstand hourglass) as something physically impossible
(running for three weeks) without the teaser ever flagging it as special.
Add an Occam's-razor rule plus a prop-plausibility rule, with a worked
bad-example pair.
2026-08-26 11:45:50 +02:00
dasemu 6494b278e4 Ban emotional-epiphany and coincidence-driven solutions in story prompt
Another observed failure mode: solutions resolving on an unverifiable mood
swing ("she realized she didn't want to leave") propped up by a convenient
coincidence, instead of a concrete fact a player could reach via yes/no
questions. Add an explicit rule plus a worked bad-example contrast.
2026-08-26 11:44:05 +02:00
dasemu a81dad31dd Merge pull request 'Update default Gemini model to gemini-3.5-flash' (#1) from claude/gemini-model-update-26af8d into main
Reviewed-on: #1
2026-08-26 09:40:06 +00:00
dasemu c6c4a25498 Tighten Gemini story-generation prompt for coherence and plausibility
Generated stories were sometimes incoherent or implausible (teasers claiming
things that didn't literally happen, unresolved details, forced twists).
Add explicit coherence/plausibility rules, a worked example, and lower
temperature from 1 to 0.85 to reduce randomness without killing variety.
2026-08-26 11:38:31 +02:00
dasemu 82ef9f93b5 Update default Gemini model from gemini-2.5-flash to gemini-3.5-flash
gemini-2.5-flash is no longer available; gemini-3.5-flash is the current GA Flash model.
2026-08-26 11:30:18 +02:00
dasemu c5f4f728f4 Translate root README to English and drop the deploy walkthrough
Purges docs/DEPLOY.md per project decision to stop maintaining a
separate deploy walkthrough; deploy/ example systemd/nginx units remain
as the reference. Root README is translated to English (game name kept
as-is) to match the rest of the repo's documentation.
2026-08-24 04:53:43 +02:00
dasemu 2681039074 Rename game, redesign UI as a noir case-file, simplify narrator flow
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.
2026-08-24 04:53:25 +02:00
dasemu 99a903f6e1 Add player difficulty ratings, drop hint system, use Peninsular Spanish in Gemini prompt
Players can now submit a voluntary 1-5 difficulty rating after a story
ends (POST /api/stories/:id/ratings), stored in data/ratings.json. A new
reclassifyDifficulty script (wired to a weekly systemd timer) averages
those ratings and adjusts a story's difficulty band once it has enough
votes. The progressive hint system is removed end-to-end (schema, Gemini
prompt/response schema, generation instructions), and the Gemini prompt
is rewritten in Peninsular Spanish with an explicit instruction to
generate story content in Spain Spanish rather than any LatAm variant.
Also translates remaining Spanish code comments/error strings to English
and updates the backend README and systemd units accordingly.
2026-08-24 04:53:12 +02:00
dasemuandClaude Sonnet 5 7f3e6cc839 Add Historias Incompletas: web+APK story game with Gemini-powered daily deck
Node/Express backend generates 5 lateral-thinking mystery stories a day via
Gemini and serves the latest batch; React/Vite frontend (Capacitor-wrapped
for Android) plays them pass-and-play style, falling back to a bundled set
of 16 original stories when the backend has nothing new or is unreachable.
Includes systemd/nginx deploy config for a Docker-less Debian LXC.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-12 07:15:54 +00:00
dasemu de0dfec6af Initial commit 2026-08-11 20:13:39 +00:00