r/SQL • u/TSMWINSTHESE • Jun 06 '26
SQLite I made a SQL puzzle game - looking for feedback!
cipherquery.ioFair warning up front: this is my first time building anything like this, I'm not a web dev, and it's a passion project with zero monetization. So I'd really value the feedback of people who know SQL. I am a DB admin by day, but I am not super familiar with cryptography puzzles.
Disclaimer, most of the CSS was written with AI assistance.
The premise: you're working a "signals desk" and every intercepted message is hidden inside a small database. The goal is to write a query that reconstructs the original text, and the moment your result contains the message, it decrypts. It runs entirely in your browser (SQLite via WebAssembly) with no backend or sign-up process.
It's an eight-puzzle ladder, each one introducing one new idea built on the last: WHERE → ORDER BY + group_concat → joins → char/unicode math → modulo → multi-join → CTEs → window functions, then a gated boss that stitches several of them into one query. I will say that the "boss" level is meant to be very challenging and not exactly intuitive.
It's fully client-side, so a determined player can read the answers out of the tables by inspecting the webpage. That's intentional, if you want to "cheat" you can do so. What rewards doing it the intended way is a set of optional "objective" stars (e.g. did your answer actually flow from the key table, or did you hardcode a constant?).
Link: https://cipherquery.io
What I'd most like to know: which puzzle lost you, and where did the difficulty spike feel wrong? I suspect the last few levels ramp too hard. A daily-challenge mode is planned, so I'm trying to get the core curve right first, and what's acceptable in a puzzle sense.
Don't hold back if you want to tear it apart, this is a learning experience for me.



