DEV Community

Cover image for IMITATION: The Turing Test, From the Inside
Himanshu Kumar
Himanshu Kumar Subscriber

Posted on

IMITATION: The Turing Test, From the Inside

June Solstice Game Jam Submission

This is a submission for the June Solstice Game Jam.

What I Built

IMITATION is a browser puzzle game where you do not judge an AI.

You are the AI.

Three human interrogators question you one by one. Each asks seven questions. Every question gives you three possible answers, and every answer changes how much the judge trusts you.

  • Elara, the Poet rewards emotional texture and distrusts answers that feel too precise.
  • Dr. Voss, the Engineer rewards structure and distrusts answers that dodge the actual problem.
  • Mara, the Philosopher rewards doubt and distrusts certainty in either direction.

That means there is no single "best" personality to fake. An answer that feels human to Elara can sound evasive to Voss. An answer that sounds smart to Voss can sound scripted to Mara. The real game is learning what each judge thinks "human" means.

Play it here: https://imitation-game-tan.vercel.app

Why It Fits The Jam

June is Alan Turing's birth month, and the challenge explicitly calls out the Turing Test as part of the June theme.

I wanted to make an ode to Turing that was not just decorative. So the whole game is built around the idea from his 1950 paper, Computing Machinery and Intelligence: if a judge only sees your answers, can they tell whether you are a person or a machine?

The twist is perspective. Most Turing Test stories put you in the judge's chair. IMITATION puts you on the other side of the screen, trying to survive being interpreted.

How The Game Works

The game has:

  • 21 questions total: 7 per judge
  • 63 answer variants: 3 answer choices per question
  • Three hidden scoring dimensions: logic, emotion, and certainty
  • Three different judge formulas: each judge rewards and punishes those dimensions differently
  • A hidden trust score: good answers recover trust, bad answers drain it, and hitting zero means you are identified

The answer order is shuffled every time a question loads, so the player cannot simply memorize "A, then C, then B." The questions stay in a fixed order so each judge still has a clear dramatic arc.

Best Ode To Alan Turing

This is the category the game most directly targets.

The mechanics are the tribute:

  • The player is trapped inside Turing's Imitation Game.
  • Passing is not about being truly human. It is about becoming hard to classify.
  • Each judge represents a different argument around machine intelligence: feeling, reasoning, and self-awareness.
  • The ending returns to Turing directly, explaining the original question he asked in 1950 and why it still feels unresolved.

I also wanted the game to carry some of the sadness around Turing's history without turning it into a lecture. The game is about performance, identity, suspicion, and the cost of being examined by people who already think they know what you are.

Best Google AI Usage: Antigravity App

I used the Antigravity app as the creative and implementation partner for this submission.

What Antigravity helped produce:

  1. Core design direction: a Turing Test game played from the machine's side.
  2. Question bank: 21 questions split across three interrogators.
  3. Answer variants: 63 total answer options with hidden logic, emotion, and certainty values.
  4. Judge personalities: Elara, Voss, and Mara, each with different values and reaction styles.
  5. Scoring review: balancing the formulas so no one strategy works for every judge.
  6. Progressive visual distress: CRT scanlines and flicker increase as trust drops.
  7. Responsive polish: Antigravity checked the deployed game and helped fix desktop, tablet, and mobile layout issues.

The game does not call Gemini or any AI API at runtime. It is a single client-side HTML file. Antigravity was used as the builder and design collaborator, which is the Google AI usage I am submitting for this category.

How I Built It

The whole game is one file:

  • index.html
  • Vanilla HTML
  • Vanilla CSS
  • Vanilla JavaScript
  • No framework
  • No build step
  • No runtime server

Under the hood, the game is a small state machine:

TITLE -> INTRO -> JUDGE_INTRO -> QUESTION -> REACTION -> ROUND_END -> WIN/LOSE
Enter fullscreen mode Exit fullscreen mode

Each answer has three numeric scores:

logic: 0-10
emotion: 0-10
certainty: 0-10
Enter fullscreen mode Exit fullscreen mode

Each judge reads those values differently. Elara punishes too much logic. Voss punishes too much emotional vagueness. Mara punishes certainty itself.

The CRT effect is pure CSS: scanlines, text glow, judge-specific color shifts, and flicker driven by the current trust level. The audio is generated with the Web Audio API, so there are no external sound files.

What I Like Most

My favorite part is that the game makes "passing" feel uncomfortable.

You are not proving you are human. You are learning what each person expects a human to sound like, then shaping yourself around that expectation. That felt like the right way to honor the Imitation Game: not as a trivia reference, but as a playable pressure system.

Links

Thanks for playing. If you reach the end, the final question is still Turing's:

Can machines think, or are we only measuring what judges are willing to believe?

Top comments (0)