cd /news/artificial-intelligence/turings-light-escape-the-enigma-june… · home topics artificial-intelligence article
[ARTICLE · art-35822] src=dev.to ↗ pub= topic=artificial-intelligence verified=true sentiment=↑ positive

Turing’s Light: Escape the Enigma – June Solstice Game Jam Submission

A developer built 'Turing’s Light: Escape the Enigma', an AI-powered puzzle game for the June Solstice Game Jam. The game uses Google Gemini to generate riddles and evaluate answers, with a Turing Test mechanic as the final challenge. It was built solo from a single HTML file using vanilla JavaScript and the Canvas API.

read2 min views1 publishedJun 21, 2026

#

🎮 The Game

Turing’s Light: Escape the Enigma is an AI‑powered puzzle game where you wake in a dark room and rely on ECHO, a ghostly AI echo of Alan Turing, to fire beams of light into the void.

Live Demo: https://turing-light-game.netlify.app #

How to Play: Type answers to Turing‑themed riddles generated live by Google Gemini. Each correct answer fires a beam of light that reveals a hidden digit. Collect all four digits, pass the Imitation Gate (a Turing Test), and enter the sequence to win. #

Theme Connection: Light vs. dark is the core mechanic – you literally push back the night with each correct answer, culminating in the solstice sunrise. #

Built with: HTML/CSS/JS, Canvas, Web Audio API, Gemini API (gemini-2.5-flash)

#

🤖 Best Google AI Usage

The game uses the Gemini API as its central mechanic:

  • Gemini generates a unique, contextual riddle each round, tailored to the player’s difficulty.
  • It evaluates free‑text answers with semantic understanding, not exact matching – accepting synonyms, partial phrasing, and clever interpretations.
  • At the Imitation Gate, Gemini improvises a sincere answer to "What does it mean for a mind to be truly free?" and the player must distinguish it from a scripted impostor – a literal Turing Test within the game.
  • Without the AI, the game falls back to a small archive, but the full experience – dynamic riddles, adaptive hints, and the climactic gate – only works with Gemini.

#

🎥 Demo Video

https://youtu.be/CtjprKqM59E

#

💡 Development

I built the entire game solo, from a single HTML file, using vanilla JavaScript and the Canvas API. The Gemini integration was done via a simple fetch

call with prompt engineering to control tone, difficulty, and output format. The solstice theme is embedded in every layer: the gauge, the lives (sparks), the colour palette, and the final sunrise.

This is my entry for the June Solstice Game Jam.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @google gemini 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/turings-light-escape…] indexed:0 read:2min 2026-06-21 ·