This is a submission for the June Solstice Game Jam
What I Built
SOLSTICE is a juicy, single-file browser arcade game about the longest day of the year β and a tribute to Alan Turing, born in June, the man who turned the longest nights of a war toward dawn.
You are a spark of light. Move with your mouse (or finger) and the whole world responds: the sky shifts from blazing noon to deep night, the sun rises and sets with your daylight, particles burst and the music speeds up as the danger climbs.
- π Daylight is your health. Gather the sun's motes to keep it burning; touch a shadow and the night creeps in. Let it hit zero and the screen pulses red as night falls.
- π The Solstice Turn. At the midpoint the world flips β the longest day becomes the longest night (exactly the prompt's "longest day for half the world, shortest for the other"). The sky goes cold, the sun becomes a moon, and light becomes precious.
- π Two bosses. The Longest Night at day 10, and the bigger, faster, bullet-spitting Eclipse King at day 20 β each with a phase-2 rage mode and a codebreaking finisher.
- β Power-ups & a stockpile-able Nova. Time Warp, Light Magnet, Freeze, Sun Fragment β plus the Sun Nova you can bank Γ3 and unleash to wipe the screen.
It connects to the theme on every axis: the solstice (longest day, the Turn), light vs. dark as the core mechanic, and Alan Turing woven into the story and the boss fights.
βΆ Play it live: https://stackmasteraliza.github.io/solstice-cipher/
Video Demo
βΆ Watch the demo: https://youtu.be/n6lRqo1CBSo
Code
The whole game is one index.html β no build step, no dependencies, no external assets.
stackmasteraliza
/
solstice-cipher
SOLSTICE β feed the light, hold back the night. A 20-level arcade game for the June Solstice Game Jam, an ode to Alan Turing.
β SOLSTICE
feed the light Β· hold back the night
A juicy 20-level arcade game for the June Solstice Game Jam β and an ode to Alan Turing.
The longest day of the year, and the dark wants it back. Glide your light, gather the sun's motes, grab power-ups, survive the Solstice Turn, and break two beasts of night.
βΆ Play it live Β· π¬ Watch the demo Β· Power-ups Β· How it's built
β¨ Why it's fun
You are a spark of light. Move with the mouse (or your finger) and the whole screen responds β the sky shifts from blazing noon to deep night, the sun rises and sets with your daylight, particles burst, combos chime, and the music speeds up as the danger climbs.
- π The light is the game. Daylight is your health bar. Gather motes to keep it burning; touch a shadow and the nightβ¦
How I Built It
Plain HTML5 Canvas + vanilla JavaScript. A few decisions I'm happy with:
-
One variable drives the whole atmosphere. The sky, the sun's arc, the glow and the star field are all tied to a single value (
--night, 0 = blazing noon β 1 = full dark). The game loop just sets it from your remaining daylight and everything follows β the sun literally sinks as you run out of light. - All audio is synthesized live with the Web Audio API β no sound files. There's a kick/hi-hat/bass beat track that speeds up every level, a separate furious minor-key boss track, win/lose stingers, and reactive SFX whose pitch rises with your combo.
- 20 levels, two bosses, a power-up economy, and four enemy types (normal, fast darters, heavy tanks, and splitters that break in two) β all from a compact entity loop.
- Honest Mastermind scoring for the Turing finisher, with correct duplicate-glyph handling (the classic trap), unit-tested against the tricky cases.
- Onboarding built in: a guided practice with tooltips the first run, and a boss briefing before each beast, so a new player (or a judge) is taught every mechanic right before they need it.
- Accessible & portable: fully keyboard + touch playable; colour and shape pairing for enemies; runs from a single file anywhere.
Prize Category
π― Best Ode to Alan Turing.
June is Turing's birth month, so the game is built around the thing he's famous for β code-breaking and the triumph of logic over darkness:
- Mechanic: each boss can't just be hit to death. At zero HP it's exposed, and Turing's Bombe reveals a cipher β you "Decode the Dawn" by repeating the sequence to break the night for good. Code-breaking is the finishing move.
- Narrative: between-level "transmissions" trace his arc β Bletchley, the Enigma, his persecution for who he loved, "never granted his own daylight." The win screen, DAWN, is a tribute: "For Alan Turing (1912β1954) β who broke the world's hardest cipher and was never allowed his own daylight."
- Design: the Enigma rotor motif and the light-vs-shadow (1s and 0s) framing run throughout.
Not submitting to Best Google AI Usage β no Google AI is used in this build.
Thanks for running the jam β happy solstice! β












