Chasing the Sun: Building a 3D AI-Powered Solstice Runner…
    Neura MarketNeura Market/Gemini
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityGemsExtensionsTrending
    GeminiBlogChasing the Sun: Building a 3D AI-Powered Solstice Runner with React Three Fiber
    Back to Blog
    Chasing the Sun: Building a 3D AI-Powered Solstice Runner with React Three Fiber
    devchallenge

    Chasing the Sun: Building a 3D AI-Powered Solstice Runner with React Three Fiber

    S M Tahosin June 21, 2026
    0 views

    My submission for the June Solstice Game Jam: A 3D endless runner where you chase the sun with React Three Fiber and the Gemini API.


    title: "Chasing the Sun: Building a 3D AI-Powered Solstice Runner with React Three Fiber" description: "My submission for the June Solstice Game Jam: A 3D endless runner where you chase the sun with React Three Fiber and the Gemini API." tags: devchallenge, gamechallenge, gamedev, discuss cover_image: "https://x-tahosin.github.io/Solstice-Runner/cover_image.jpg"

    This is a submission for the June Solstice Game Jam

    What I Built

    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.

    Solstice Runner Title Screen

    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.

    Video Demo

    Here is a quick video demo of the gameplay in action:

    {% youtube JYCaxrsrTnY %}

    You can also try:

    • Running through the 3D obstacle course
    • Experiencing real-time dynamic AI dialogues
    • Chasing the horizon of the longest day
    • Testing your reflexes against Turing-inspired logic nodes

    ... directly through the deployed game (hosted on GitHub Pages):

    🎮 Play Solstice Runner Here

    Code

    GitHub Repository

    Built with:

    • React — Frontend UI and application state
    • React Three Fiber / Three.js — The entire 3D rendering pipeline and game world
    • Vite — Lightning-fast development and build tooling
    • Google AI API (Gemini) — Generating dynamic interactions and logic on the fly
    • Tailwind CSS — Styling the overlay HUDs

    How I Built It

    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.

    Building the 3D World in the Browser

    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.

    3D Environment in Solstice Runner

    Integrating the Google AI API

    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.

    A Nod to Alan Turing

    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.

    AI Forge Menu

    FeatureConceptThe Mechanics
    Turing GatesLogic NodesAnswer AI-generated logic puzzles to pass safely
    Endless DayJune SolsticeThe lighting stays perpetually at golden hour

    Prize Category

    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.

    Let's Discuss! 👇

    I'd love to hear your thoughts on mixing 3D web games with generative AI!

    • Have you tried using React Three Fiber or the Gemini API in your own projects?
    • What kind of AI-driven mechanics would you add to an endless runner?
    • How far did you manage to run in the game? 🏃‍♂️

    Drop a comment below, and let's chat about web game development, AI, or just share your high score!

    Thanks for playing!

    Tags

    devchallengegamechallengegamedevdiscuss

    Comments

    More Blog

    View all
    Stop Your LLMs from Forgetting: How a 2016 String Algorithm Solves AI's Biggest Memory Loss Problemai

    Stop Your LLMs from Forgetting: How a 2016 String Algorithm Solves AI's Biggest Memory Loss Problem

    Have you ever tried to read a massive pile of reports and summarize them in under 50 words? It’s...

    T
    Tanaike
    Google VP of Technology says he’s given up on codingaie

    Google VP of Technology says he’s given up on coding

    In his keynote on Wednesday, Benoit Schillings, vice president of Technology at Google DeepMind and...

    I
    Iain Thomson
    Omni Flash Preview with Kirogemini

    Omni Flash Preview with Kiro

    This article covers the MCP setup and configuration for using Google Omni Preview and underlying...

    X
    xbill
    How to Count Gemini Tokens Locallyai

    How to Count Gemini Tokens Locally

    ✨ Overview This article explores how Gemini tokenizes data and demonstrates how to count...

    L
    Laurent Picard
    Play today’s game from Issue #2 of The Daily Context!aie

    Play today’s game from Issue #2 of The Daily Context!

    Yesterday, we kicked off our physical newspaper, The Daily Context, at the AI Engineer World’s Fair...

    J
    Jess Lee
    Need a break? Play today's game from The Daily Context.aie

    Need a break? Play today's game from The Daily Context.

    We (at DEV and MLH) are covering AI Engineer's World Fair by printing a physical newspaper called...

    J
    Jess Lee

    Stay up to date

    Get the latest Gemini prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Gemini and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this Gemini resource

    • Building a RAG Chatbot for Movie Recommendations with Qdrant and OpenAIn8n · Free · Related topic
    • Automate Profile List Building with Airtop and Google Sheetsn8n · Free · Related topic
    • Automate Slack Approvals and Data Submission with n8n Webhooksn8n · Free · Related topic
    • Automate Commercial Insurance Submissions with Google Suite, PDF, and Emailn8n · Free · Related topic
    Browse all workflows