How I Built a Turing inspired 3D Solstice Runner Powered by Google AI A developer built Solstice Runner, a 3D endless runner game for the June Solstice Game Jam, using Google AI API to generate dynamic logic puzzles and narrative. The game features 'Turing Gates' that require players to solve AI-generated logic challenges, paying homage to Alan Turing. It was developed with React Three Fiber and hosted on GitHub Pages. This is a submission for the June Solstice Game Jam For this game jam, I built Solstice Runner , a 3D endless adventure where you literally chase the sun on the longest day of the year. The idea started with a simple question: What if the solstice was a race against time, guided by logic? In Solstice Runner, players navigate a vibrant 3D world, dodging obstacles and interacting with a dynamically generated environment. Instead of just making a standard runner, I wanted the environment and the interactions to feel alive. The game celebrates the June Solstice by having the player constantly move forward toward a sun that never seems to set, while solving on-the-fly logical puzzles inspired by Alan Turing. The goal was simple: Build a fast-paced 3D web experience that seamlessly blends action with intelligent logic. Here is a quick video demo of the gameplay in action: Your browser does not support the video tag.You can also try: ... directly through the deployed game hosted on GitHub Pages : Built with: I started by focusing on the core rendering loop: Render Scene → Handle Movement → Generate AI Logic → Avoid Obstacles Once the 3D movement felt right in the browser, I started layering in everything else. One of the biggest challenges was getting 3D performance running smoothly in the browser. Using pure Three.js can require a lot of boilerplate, so I opted for React Three Fiber. It allowed me to treat 3D meshes, lights, and cameras as standard React components, which sped up development tremendously. The environment uses warm, bright lighting to reflect the summer solstice vibe. Instead of hardcoding the obstacles or dialog sequences, I used the Google AI API as the "Game Master". Every time a player reaches a specific checkpoint, the game pings the API with the current game state to generate unique logic challenges and narrative text. It took some tweaking to ensure the API calls didn't block the game's render loop, but the result is a game that responds dynamically. Since June is also Alan Turing's birth month, I wanted to include a tribute to him. The logic checkpoints you encounter while running are framed as "Turing Gates". They require quick thinking—such as pattern recognition or simple binary decisions—before you can continue your run. | Feature | Concept | The Mechanics | |---|---|---| | Turing Gates | Logic Nodes | Answer AI-generated logic puzzles to pass safely | | Endless Day | June Solstice | The lighting stays perpetually at golden hour | I am submitting this project for the Best Google AI Usage and Best Ode to Alan Turing categories. The Google AI API handles the core dynamic dialog and logic generation, making every run feel unique. Meanwhile, the core mechanics of navigating "Turing Gates" serve as a direct homage to Turing's legacy in computing and intelligence. Thanks for playing