惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Docker
Apple Machine Learning Research
Apple Machine Learning Research
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 三生石上(FineUI控件)
月光博客
月光博客
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
WordPress大学
WordPress大学
Hugging Face - Blog
Hugging Face - Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
M
MIT News - Artificial intelligence
腾讯CDC
B
Blog RSS Feed
H
Help Net Security
J
Java Code Geeks
有赞技术团队
有赞技术团队
Y
Y Combinator Blog
博客园_首页
Last Week in AI
Last Week in AI
博客园 - 【当耐特】
博客园 - Franky
B
Blog
MongoDB | Blog
MongoDB | Blog
博客园 - 叶小钗
Martin Fowler
Martin Fowler

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Solstice Cipher - A Bletchley Park Tribute to Alan Turing
NITHESH SARAVANAN · 2026-06-22 · via DEV Community
Cover image for Solstice Cipher - A Bletchley Park Tribute to Alan Turing

NITHESH SARAVANAN

June Solstice Game Jam Submission

This is a submission for the June Solstice Game Jam

What I Built

Solstice Cipher is a browser-based codebreaking puzzle game where you play a WWII-era codebreaker at a Bletchley Park-style station, racing to decrypt intercepted enemy transmissions before daylight runs out.

Each level introduces a different real cryptographic technique — starting with a simple Caesar shift, moving into substitution ciphers, and finishing with a Vigenère cipher — all decoded using an in-game "Decrypt-O-Matic" terminal helper that teaches the underlying logic instead of just asking you to guess.

The solstice theme isn't just cosmetic: every level is timed by a daylight meter that drains at different speeds depending on whether the in-game date falls on an "odd" or "even" day, mirroring how the June solstice means radically different day lengths depending on which hemisphere you're in. The in-game calendar counts up toward Day 21 — June 21, the solstice itself, which is also the final cipher level.

After the last cipher, the game shifts gears entirely: you're presented with four short text passages and asked to judge which were written by a human and which were generated by a machine — a direct nod to Alan Turing's 1950 "Imitation Game" proposal. The passages are intentionally ambiguous (one "machine" passage sounds very natural, one "human" passage sounds a little stiff) so the moment actually makes you think, rather than being an obvious gimme.

The game closes with a short, factual dedication to Alan Turing — his codebreaking work at Bletchley Park, his foundational contributions to computer science, and the persecution he faced for being gay — tying the whole experience back to both the historical "Ode to Turing" prompt and Pride Month.

Play it live: https://red-coder-27.github.io/solstice-cipher/

Video Demo

Code

https://github.com/red-coder-27/solstice-cipher

How I Built It

Solstice Cipher is a single self-contained HTML file — no build step, no backend, just vanilla JavaScript, CSS, and the Web Audio API, so it runs instantly in any browser with nothing to install.

I used Google Antigravity to generate the full initial build from a single detailed prompt covering the concept, all four cipher mechanics, the visual day-to-night theming, and the Turing Test ending. From there, I tested every level by hand-verifying the cipher math against the actual encryption logic, which caught a one-character bug in the Level 2 ciphertext that would have made that level mathematically unsolvable — a good reminder that AI-generated puzzle logic still needs to be checked against itself, not just read for plausibility.

A few design choices I'm happy with:

  • The daylight timer bar literally shrinks faster on "even" in-game days, which makes the solstice's day-length asymmetry something you feel under time pressure rather than just read about.
  • The Decrypt-O-Matic helper changes shape per cipher type (a shift slider for Caesar, fill-in-the-blank pairs for substitution, a tabbed lookup grid for Vigenère) so each level teaches its own cipher instead of reusing one generic input.
  • The Turing Test ending has no timer and gives a score bonus regardless of how many you get right — it's meant as a reflective moment, not a fail state.

Prize Category

Submitting to both:

  • Best Ode to Alan Turing — the entire back half of the game is a direct tribute: a literal Turing Test mechanic at the climax, followed by a factual dedication to his codebreaking legacy and his place in LGBTQIA+ history during Pride Month.
  • Best Google AI Usage — the full game was built end-to-end using Google Antigravity from a single structured prompt, then debugged and polished afterward.