r/learnSQL • • 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.

123 Upvotes

21 comments sorted by

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/TurbulentCountry5901 Nov 13 '25

Haha thanks, that’s awesome to hear. I never really planned it as something to sell, but it’s fun to imagine a full version with art and voiceovers. For now I’m just happy people are enjoying it.

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.

3

u/TurbulentCountry5901 Nov 13 '25

Thanks a lot for the kind words and for spotting those issues. You’re right about the popups moving too fast. I’ll add a proper Next button so it’s easier to pause and see the result.

The locked case thing is part of a small progress bug. It’s saving correctly but not refreshing the main screen. I’ll sort that out soon.

2

u/TurbulentCountry5901 Nov 15 '25

Thanks for the feedback earlier! I’ve fixed the issues you mentioned, and you can give it a try now. I’ve also added some new features, so feel free to check those out as well!

2

u/Specialist-Mess1794 Nov 13 '25

Will check this out

2

u/TurbulentCountry5901 Nov 13 '25

Nice, hope you enjoy it when you get the chance.

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!

2

u/TurbulentCountry5901 Nov 14 '25

Thanks. Really glad you’re enjoying it. I want it to feel like something you can dip into anytime for a quick practice session.

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/TurbulentCountry5901 Nov 15 '25

Yes, I’ve used Kiro and Google AI Studio to create this. I built it in my spare time over about two weeks. Let me know if you’re interested and I can share more about how I made it!

1

u/mj__1988 Nov 15 '25

Sure, I'm interested to know more. The app looks pretty good

1

u/Monsieur_Roo Nov 14 '25

Going to give this a go tonight mate  :)

1

u/TurbulentCountry5901 Nov 15 '25

Awesome! Hope you enjoy it. Let me know how it goes!

1

u/p186 Nov 14 '25

Nice; will check out.

FYI, the Github link seems to be broken.

2

u/TurbulentCountry5901 Nov 15 '25

Yes, I know the GitHub link is gone. I removed it because I don’t want to open source it just yet. I plan to refactor the code first and maybe publish it later. In the meantime, I’ve also pushed some new updates you can check out!

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!!