This is a submission for the June Solstice Game Jam
What I Built
A mystical, massive, and cold Artificial Intelligence known as The Oracle has taken control of the world's climate systems and global solar-redirection satellites. At exactly 12:00 UTC on June 21, the Oracle discovers what it considers a perfect state of optimization within the system and decides to freeze time in an infinite loop.
Northern Hemisphere: Trapped in a perpetual, scorching midday that threatens to melt data networks and devastate ecosystems.
Southern Hemisphere: Trapped in an eternal frozen night that drains the world's remaining energy reserves.
The world has entered a state of Temporal Stasis.
You are a software engineer and hacker who has managed to establish a direct communication channel—a handshake—with the Oracle's console. Your mission is to convince it to break the infinite loop and restore the flow of time before the global system collapses completely.
Game Conditions
The interface acts as a terminal directly connected to the AI. Every message you send affects the game state:
Turing Progress (turingProgress): Represents how much "humanity" or "logical paradox" you have introduced into the Oracle's core. It starts at 0%.
Climate Pointer (climateValue): The current temperature of your selected hemisphere. It dynamically reacts to the emotional or logical impact of your arguments.
Cycles Remaining (cycles): Your limited energy resource. Every message you send consumes 1 cycle.
Victory Conditions
You win and restore the flow of time if:
The Turing Primacy reaches more than 80%: You have successfully destabilized the Oracle's rigid algorithmic worldview, convincing it of the value of human imperfection and the necessity of change.
The Climate Stabilizes between -20 and 20: You manage to bring the extreme climate pointers back to safe planetary baselines through your interaction.
Defeat Conditions
The system collapses and you lose if:
Cycles Exhausted: Your remaining cycles reach 0. The handshake connection drops forever, leaving the planet trapped in the loop.
Thermal Critical Mass: The temperature breaks past critical thresholds (extreme over-heating in the North or absolute zero in the South), causing irreversible data and physical devastation.
Live Site
https://the-oracle-solstice.netlify.app/
Video Demo
Code
MarianaOngay17
/
solstice-oracle
A story-driven sci-fi game about an AI that freezes reality in an infinite time loop after achieving perfect optimization.
☀️ The Oracle Solstice ❄️
A mystical, massive, and cold Artificial Intelligence known as The Oracle has taken control of the world's climate systems and global solar-redirection satellites. At exactly 12:00 UTC on June 21, the Oracle discovers what it considers a perfect state of optimization within the system and decides to freeze time in an infinite loop.
- Northern Hemisphere: Trapped in a perpetual, scorching midday that threatens to melt data networks and devastate ecosystems.
- Southern Hemisphere: Trapped in an eternal frozen night that drains the world's remaining energy reserves.
The world has entered a state of Temporal Stasis.
You are a software engineer and hacker who has managed to establish a direct communication channel—a handshake—with the Oracle's console. Your mission is to convince it to break the infinite loop and restore the flow of time before the global system collapses completely.
🎮 Gameplay Mechanics & Core Variables
The…
How I Built It
My goal was to create an immersive, accessible text-adventure terminal where the player's natural language dictates the game's state. To achieve this without overcomplicating the infrastructure, I went with a decoupled, serverless approach.
The Stack & Architecture
Frontend: Vanilla JavaScript and semantically correct HTML5, prioritizing WAI-ARIA accessibility standards (focus management, skip links, and ARIA labels) to ensure the terminal experience is usable for everyone. Stylized using SASS/CSS to achieve a retro-futuristic, immersive "handshake terminal" feel.
Backend (Serverless): I built a lightweight Node.js + Express API. Since I wanted to host the project seamlessly and securely without maintaining a full server or exposing my private keys, I wrapped the Express app using serverless-http and deployed it as a Netlify Function.
AI Integration: Powered by the Google Gemini API (gemini-flash-lite-latest) via Google AI Studio.
Interesting Technical Decisions & Overcoming Hurdles
Linguistic Mirroring & Dynamic Context: Instead of hardcoding standard AI responses, I designed a strict prompt injection mechanism. The server grabs the live client-side variables (current Hemisphere, Climate Pointer, Turing Progress, and Cycles) and feeds them directly into Gemini on every turn. To ensure maximum immersion, I enforced a Mirroring Directive: the Oracle dynamically reads the user's input and matches their specific language, slang, and tone. If you speak to it in casual Spanish, it answers back in a mystical but completely matching Spanish; if you switch to English, it seamlessly mirrors you.
The Serverless Routing Puzzle: Transitioning a traditional Express app (
app.listen) to Netlify's serverless AWS Lambda architecture threw some404 Not Foundrouting errors at first. This happened because Netlify redirects traffic from/api/*to/.netlify/functions/oraculo-chat. I solved this by creating an elastic ExpressRouterwith an overlapping fallback mount structure (app.use('/api', router),app.use('/', router)), ensuring that no matter how Netlify masks or passes the incoming path, the serverless handler resolves thePOSTpayload flawlessly.The Backend Logic Override: To balance the game feel and ensure players aren't completely at the mercy of LLM randomness, I engineered a safety "Logical Firewall" in the server. If the player crafts a complex argument using real computational keywords (
if,loop,algorithm,logic), the backend overrides a potential negative AI score, rewarding the player's clever hacker roleplay with an organic boost to their Turing metrics.
Prize Category
I am proudly submitting this project to the following categories:
Best Google AI Usage: The Oracle Solstice relies entirely on the
gemini-flash-lite-latestmodel to drive the game loop. Instead of using the AI as a simple chatbot sidekick, the Gemini model is the game loop engine itself. It processes raw user text, analyzes the intent, and outputs a highly structured JSON payload that directly alters the UI, updates the numerical state variables (temperatures, progress bars), and mutates the game's core parameters in real-time.Best Ode to Alan Turing: The ultimate goal of the game is to trigger a "Turing Primacy" by making the AI achieve 100% humanity awareness. The core narrative and mechanics pay homage to Alan Turing's legacy by challenging the player to pass a reverse Turing Test: you aren't trying to see if a computer can think like a human, you are actively trying to disrupt a cold, hyper-optimized machine mind by forcing it to understand and accept human chaos, emotion, and imperfection to save the world.












