This is a submission for the June Solstice Game Jam
How It Works (The Theme Connection)
The game maps the physical passage of time during the Solstice to computational logic constraints. As the game clock cycles from day to night, your processing framework degrades across three environmental phases:
- Sunrise (Unary): Pure binary processing.
-
High Noon (Boolean): Advanced algebraic logic gates (
AND,OR,NOT). - Midnight (Enigma): Hard cryptographic bit-parity challenges that honor Turing's codebreaking at Bletchley Park.
Behind the Curtain: Best Google AI Usage
Instead of using the Gemini API as a simple chat box, Gemini 2.5 Flash acts as our automated Procedural Level Designer.
Every time the environment transitions, the system fires a background request to Google AI Studio. Gemini dynamically parses the current game state and feeds back:
- A unique, context-aware matrix puzzle directive (
puzzleHint). - The dynamic numeric or parity solution ruleset (
solutionKey). - A curated, inspiring quote reflecting Alan Turing's legacy, Juneteenth, or Pride Month (
historyQuote).
If the network connection ever fails, a native hardware fallback loop steps in to ensure seamless offline gameplay.
Built With
- Pure HTML5 / CSS Grid (with a custom CRT scanline terminal effect)
- Modular Vanilla JavaScript
- Official
@google/genaiSDK via CDN
Top comments (0)