A code-breaking puzzle game for the June Solstice Game Jam on DEV.
Write JavaScript decrypt() functions in a real Monaco Editor (VS Code's engine via @monaco-editor/react) to break ciphers before the June 21 solstice. Each solved level brings more daylight — honoring Alan Turing, Pride, and the passage from darkness to light.
| Prize category | How the game fits |
|---|---|
| Overall theme | Solstice countdown, daylight progression, June 21 narrative |
| Best Ode to Alan Turing | Bletchley Park story, Caesar/Enigma-style ciphers, algorithms as gameplay |
| Best Google AI Usage | Optional Gemini 3.5 Flash hints via API |
cd solstice-cipher
npm install
npm run devCreate .env in the project root:
VITE_GEMINI_API_KEY=your_google_ai_studio_keyGet a free key at Google AI Studio. Without it, static hints still work.
- Read the intercepted ciphertext and narrative
- Edit the
decrypt(text)function in Monaco Editor - Click Run decrypt() to test your code
- Break all 5 ciphers to reach solstice dawn
- React 19 + TypeScript + Vite
- @monaco-editor/react — main gameplay UI
- @google/genai (optional) — streaming hints via
generateContentStream+gemini-3.5-flash
- Caesar cipher (First Light)
- Atbash mirror cipher (Sunrise)
- ROT13 (Morning) — message: PRIDE HUMAN
- Vigenère with keyword PRIDE (Midday)
- Combined Caesar + word reverse (Solstice) — THE LIGHT SHINES
- Record a 1–2 min demo video (intro → play 1–2 levels → win screen)
- Deploy to Vercel/Netlify/GitHub Pages (free)
- Publish DEV post with
#devchallenge#gamechallenge#gamedev - Mention prize categories: Alan Turing + Google AI (if using Gemini)
- Submit before June 21, 11:59 PM PDT
npm run build
npm run previewMIT — built for the June Solstice Game Jam 2026.