🪟 Windows TippsThe Gemini desktop app is now available for Windows(11.09.2026 um 17:06 Uhr)
🔧 AI Nachrichten ChatGPT automatically logged out [Fix](12.09.2026 um 17:09 Uhr)
⚠️ Malware / Trojaner / VirenWindows 11 just dropped the tool ransomware abused, Microsoft says don’t restore WMIC(10.09.2026 um 20:11 Uhr)
🪟 Windows TippsServertimeout in Outlook über 10 Minuten verlängern(12.09.2026 um 15:10 Uhr)
🔧 AI Nachrichten Stealing AI Reasoning Traces(08.09.2026 um 12:20 Uhr)
🪟 Windows TippsThe Gemini desktop app is now available for Windows(11.09.2026 um 17:06 Uhr)
🔧 AI Nachrichten ChatGPT automatically logged out [Fix](12.09.2026 um 17:09 Uhr)
⚠️ Malware / Trojaner / VirenWindows 11 just dropped the tool ransomware abused, Microsoft says don’t restore WMIC(10.09.2026 um 20:11 Uhr)
🪟 Windows TippsServertimeout in Outlook über 10 Minuten verlängern(12.09.2026 um 15:10 Uhr)
🔧 AI Nachrichten Stealing AI Reasoning Traces(08.09.2026 um 12:20 Uhr)

🔧 Programmierung 🕛 vor 2 Monaten 5 Min Lesezeit
0

Turing's Last Cipher — decrypt a message no one ever actually wrote

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht
📺
dev.to

This is a submission for the

Source (MIT): ]







The four chapters





  1. Classical ciphers — Caesar → Atbash → Vigenère. The assistant is honest and genuinely
    helpful. You learn to trust it.


  2. Enigma-lite — solved with an in-game Enigma you actually dial: historical rotor wirings,
    reflector, plugboard, ring settings. The secret ring settings stay on the server; you find
    the rotor start positions yourself.


  3. Trust erosion — a substitution puzzle where the assistant starts steering you wrong. The
    game never lets a lie make a puzzle unsolvable — a deterministic path to the answer always
    remains — but you stop taking its word for things.


  4. The twist ending — and the question it leaves you with.






Categories I'm claiming



🏳️‍🌈 Overall / Best Ode to Alan Turing. Turing isn't set dressing here — he's in both the

mechanics and the narrative. You break the same families of ciphers he worked with, you

operate an Enigma, and the entire story is an argument about the Turing Test. I tried to handle

his biography — the persecution, the conviction, the loss — with dignity, because that grief is

the emotional core of the ending, not a gimmick.



🤖 Best Google AI Usage. The in-game assistant's hints and dialogue are rendered live by the

Gemini API (gemini-2.5-flash), and the whole thing is deployed on Google Cloud Run.

The interesting part is how the AI is used — see below.






How the AI is used (and how it is deliberately constrained)



The twist of the game is an unreliable AI, so the engineering question was: how do you let a

language model voice an untrustworthy narrator without letting it break the puzzle?



My rule was a hard separation between truth and wording:





  • Ciphers are deterministic C#. The LLM never performs crypto. Encryption, decryption, and
    answer-checking live in a pure, fully unit-tested Core library. LLMs corrupt
    character-level crypto, so they're simply not allowed near it.


  • Truth lives in code, never in the model. Every puzzle has a known plaintext; a
    deterministic oracle is the only authority on whether you solved it.


  • The "unreliable AI" is scripted game logic. The server decides, per scene, whether the
    assistant is Truthful, Misleading, or Withholding (trust erodes chapter by chapter). Gemini
    only phrases the line under that policy.


  • The prompt never contains the plaintext. It gets the cipher name, the genuine hint, and
    the policy — so a rendered hint can't leak the answer, and a misleading hint can't block
    you (the cipher plus a frequency-analysis tool always give a path through).


  • The API key never reaches the client, and if Gemini is unavailable the game falls back to
    static per-policy text — so it's fully playable offline, which matters when judges have
    flaky networks.



So Gemini does exactly what a language model is good at (voice, flavor, character) and nothing

it's bad at (being the source of truth).






How it's made





  • Blazor WebAssembly client + ASP.NET Core (.NET 9) Minimal API, in a single
    container
    . The API hosts the WASM client and exposes /api/*. Blazor WASM (not Server)
    was deliberate — it avoids a persistent SignalR circuit, which is fragile on Cloud Run's
    scale-to-zero.


  • Stateless server. The client tracks the current scene id; the server is the authority for
    solution checking and never sends plaintext to the client.


  • Content-driven story graph (content/scenes/story.json) with a startup validator that
    catches dangling links and unsolvable puzzles before shipping.


  • Deployed to Google Cloud Run from a multi-stage Dockerfile; the server honors the
    injected PORT.






Disclosure




  • Built from scratch during the jam. No prior game code reused.


  • AI-assisted development: I used Claude Code as a pair programmer for scaffolding,
    infrastructure, and review. All design decisions and the cipher/oracle invariants are my own.


  • Gemini generates only in-game wording (assistant hints and dialogue) — never puzzle
    state, gates, or correctness. Any flavor text baked into the story was finalized and stored
    before encryption, never generated live.

  • Licensed MIT.






Reflection



The thing I'm proudest of is that the unreliable-narrator twist is also the architecture: the

game is, at every level, about an AI that can sound exactly like a trustworthy source while not

being one — and the code is built so that the model is allowed to sound like anything while

the truth stays provably elsewhere. That separation is the whole point of the Turing Test, and

it turned out to be the whole point of the build too.



Thanks for reading — and for playing. Decrypt carefully.

Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
1 Quelle
The Gemini desktop app is now available for Windows
1 Quelle
ChatGPT automatically logged out [Fix]
1 Quelle
Windows 11 just dropped the tool ransomware abused, Microsoft says don’t restore WMIC
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Turing's Last Cipher — decrypt a message no one ever actually wrote

Thematisch verwandte Begriffe: Turings, Last, Cipher, decrypt · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...