r/learnSQL • u/TurbulentCountry5901 • Nov 13 '25
Built a detective game to teach myself SQL — free, no login. Would love your thoughts.
I wanted to brush up on SQL but got bored with the usual tutorials, so I ended up building SQL Case Files — a noir-themed detective game where you solve crimes by writing real SQL queries.
It’s completely free, no sign-ups or subscriptions. Just open sqlcasefiles.com and start investigating.
It’s a Progressive Web App (PWA), so you can add it to your Home Screen and use it like a native app — it even works offline once loaded.
I built it mostly for myself to relearn SQL in a fun way, but I’d really appreciate honest feedback:
- Does it actually feel engaging, or just a gimmick?
- Are the hints / progression clear?
- Anything frustrating or missing that would make it better for learners?
If you give it a spin, thank you. If not, all good — just wanted to share what I’ve been tinkering on.
9
u/BumpeeJohnson Nov 13 '25
I'm enjoying it, just did the 5th query. If you could expand it and add some artwork you could probably sell this on steam 😆
3
u/21Down Nov 13 '25
This is really great! Well done! I'm using FireFox on my PC. Every time I finish a query it moves through the different popups quite quickly and then I'm on to the next case level. It would be nice to add a 'next' or 'okay' button so the user can see the result of their query before continuing.
Also, I've finished the rookie files and I'm onto the next level. However, if I go back to the main 'choose your case' screen, only the 'Rookie Files' are clickable. Everything thing else is locked.
2
u/Specialist-Mess1794 Nov 13 '25
Will check this out
2
u/Mindless-Boot256 Nov 13 '25
this looks great so far - nice job!
this can be a lotta fun, even as a reminder if you're just passed beginner, ya know?
Awesome!
1
u/mj__1988 Nov 14 '25
hey, this is pretty good. I've been wondering have you used Ai app for creating this
1
u/Monsieur_Roo Nov 14 '25
Going to give this a go tonight mate :)
1
u/p186 Nov 14 '25
Nice; will check out.
FYI, the Github link seems to be broken.
1
u/nogodsnohasturs Nov 17 '25
Yeah, I've only been through the basics so far, but I think this is a great tool. You should definitely have naive users test it and give you their feedback.
This is a tiny point, but I notice you use backtick quotes `3` in the prompts sometimes, and this could in principle be confusing for numeric values. For example, the following:
Find the incident at 'Fishermans Wharf' that also involves suspect_id `3`.
This could be confusing if the player inputs `3`. I note that the current behavior is that the query returns whether you use '3' or 3, and treats both as correct, and breaks on `3`, but the datatype mixing might theoretically go wrong at some point. Maybe that's addressed later and I haven't gotten there yet?
1
u/Tonygambino Apr 24 '26
I just found this today, and am enjoying it. Thank you for making this, and making it free to play.
1
u/Popular-Campaign2729 Jun 09 '26
this is awesome thank you
Any other training modules or YouTube sites you all think is great for learning SQL appreciate it.
Effective and cheap I like
1
u/Like_reddit_much Aug 20 '26
I’ve been trying to look for games that will teach me as someone who have zero knowledge with SQL. This game is really engaging! I’m on season 2 I just started it today. Thank you so much for this!!