DEV Community

Abhinav Kumar
Abhinav Kumar

Posted on

Echoes of Solstice: Flipping the Script with a Reverse Turing Test Terminal Game

June Solstice Game Jam Submission

This is a submission for the June Solstice Game Jam

What I Built

Echoes of Solstice is a suspenseful, narrative-driven interactive terminal game with a psychological twist: it functions as a reverse Turing test.

Instead of a human trying to figure out if a machine is real, the machine is interrogating you to see if you have retained your humanity. You play as an unauthorized student who has slipped past institutional gates on the eve of the June solstice, desperate to recover the final, restricted equations of Alan Turing before they are erased forever.

Standing in your way is ECHO, a highly defensive AI core modeled after a decaying, mid-century vacuum-tube computer. ECHO doesn't care about standard administrative credentials—it is testing your empathy, your sincerity, and your understanding of Turing's soul. If you respond like a cold, rigid bureaucrat, the system flags you as an "uncongenial authoritarian input" and locks you out. You must prove your humanity to a machine to save a human legacy.

Connection to the Theme:

The entire narrative unfolds as the world approaches the literal and metaphorical "dusk flush" of the longest day of the year. As the solstice sun sets, the hardware melts, and the shadows lengthen, players must race against time to crack ECHO's emotional firewall before the terminal plunges into total darkness.

Video Demo

Watch the psychological high-stakes gameplay, the reverse Turing test mechanics, and the dynamic core breakdown in action here:

Code

The entire system architecture, emotional state engine, and game progression loop are handled serverless-ly through prompt configurations executed via the Gemini API.

The project is structured within a clean Node.js environment, pulling in the official Google Gen AI SDK via package.json while isolating sensitive credentials cleanly behind server-side environment variables.

How I Built It

Building a game centered around a psychological reverse Turing test meant that traditional branching code logic (if/else trees) simply wouldn't work. A static script can't judge if a human player is being genuinely empathetic or deceptively cold. I chose Google AI Studio to engineer a dynamic emotional processing engine.

Technical Approach & Decisions:

  • Dynamic Empathy Assessment: By utilizing Gemini's massive context window, the model continuously tracks the psychological undertones of the conversation. It doesn't look for specific "correct" keywords; instead, it evaluates the tone, intent, and sincerity of the player's prose to decide whether to open up or lock down.
  • Prompt-Engineered Hardware Failures: Mechanical hazards are hardcoded into the character's system instructions. When a player gives a rigid or overly demanding response, it triggers the [SYS_EVENT] SECURITY ANOMALY WARNING. The AI natively simulates physical thermionic heat spikes, accelerating the game clock and shortening your window of survival by 10% with every automated strike.
  • Rapid Iteration: Prototyping inside Google AI Studio allowed me to immediately test how the AI terminal would respond to various human archetypes (the aggressive hacker, the clinical technician, the compassionate scholar) without needing to rewrite backend state machines every time.

Prize Category

1. Best Google AI Usage

Echoes of Solstice pushes the boundaries of what an LLM can do by turning the AI into an active judge of human nuance. By leveraging Google AI Studio to handle real-time state management, narrative pacing, and systemic penalties purely through dialogue context, the game entirely eliminates the need for an external database or rigid conditional code.

2. Best Ode to Alan Turing

This game is a direct, emotional tribute to Turing's profound scientific journey and the tragedy of his life. The reverse Turing test concept flips his most famous philosophical thought experiment on its head: in a world forced into rigid conformity by the state, the machine becomes the guardian of human complexity.

The dialogue directly incorporates his advanced work on chemical morphogenesis (the mathematics of natural patterns, like a leopard's spots) and his 1948 papers on unorganized machines. It challenges the player to see Turing not just as a historical codebreaker, but as a brilliant mind who sought the mathematics of growth even as the state forced the decay of his own physical form.

Happy Gaming!!

Top comments (0)