{"slug": "turings-light-escape-the-enigma-june-solstice-game-jam-submission", "title": "Turing’s Light: Escape the Enigma – June Solstice Game Jam Submission", "summary": "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.", "body_md": "##\n🎮 The Game\n\n**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.\n\n-\n**Live Demo:** [https://turing-light-game.netlify.app](https://turing-light-game.netlify.app)\n-\n**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.\n-\n**Theme Connection:** Light vs. dark is the core mechanic – you literally push back the night with each correct answer, culminating in the solstice sunrise.\n-\n**Built with:** HTML/CSS/JS, Canvas, Web Audio API, Gemini API (gemini-2.5-flash)\n\n##\n🤖 Best Google AI Usage\n\nThe game uses the **Gemini API** as its central mechanic:\n\n- Gemini generates a unique, contextual riddle each round, tailored to the player’s difficulty.\n- It evaluates free‑text answers with semantic understanding, not exact matching – accepting synonyms, partial phrasing, and clever interpretations.\n- 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.\n- 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.\n\n##\n🎥 Demo Video\n\n[https://youtu.be/CtjprKqM59E](https://youtu.be/CtjprKqM59E)\n\n##\n💡 Development\n\nI 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`\n\ncall 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.\n\nThis is my entry for the **June Solstice Game Jam**.", "url": "https://wpnews.pro/news/turings-light-escape-the-enigma-june-solstice-game-jam-submission", "canonical_source": "https://dev.to/shaheer_rustam_a8273edddd/turings-light-escape-the-enigma-june-solstice-game-jam-submission-1m3f", "published_at": "2026-06-21 18:54:54+00:00", "updated_at": "2026-06-21 19:33:53.886084+00:00", "lang": "en", "topics": ["artificial-intelligence", "generative-ai", "large-language-models", "ai-products", "developer-tools"], "entities": ["Google Gemini", "Gemini API", "Alan Turing", "Turing’s Light: Escape the Enigma", "Canvas API", "Web Audio API", "Netlify"], "alternates": {"html": "https://wpnews.pro/news/turings-light-escape-the-enigma-june-solstice-game-jam-submission", "markdown": "https://wpnews.pro/news/turings-light-escape-the-enigma-june-solstice-game-jam-submission.md", "text": "https://wpnews.pro/news/turings-light-escape-the-enigma-june-solstice-game-jam-submission.txt", "jsonld": "https://wpnews.pro/news/turings-light-escape-the-enigma-june-solstice-game-jam-submission.jsonld"}}