Asia/Kolkata
ProjectsApril 2, 2025

In-Browser Game for Learning SQL

In-Browser Game for Learning SQL

Overview

NoirSQL is an interactive visual novel style game that teaches SQL concepts through a detective thriller narrative. Players assume the role of a detective in a noir-inspired city, solving mysteries by writing SQL queries to gather clues and progress through the story. The game is designed to be engaging and educational, providing a hands-on approach to learning SQL in a real sql database.

Whats under the hood?

Its built on LittleJs a lightweight JavaScript game engine. It uses PostgreSQL from PgLite, an ephermeral in-browser SQL database. It also uses Prismjs for syntax highlighting and the UI is built with HTML/CSS.
Why html/CSS for UI? LittleJs provides a simple way to render 2D graphics and handle user input, and since I wanted to go with an extremely lightweight approach, I decided to use HTML/CSS for the UI. This allows for easy styling and layout of the game's interface, while still leveraging the capabilities of LittleJs for rendering the game world and handling user interactions.

Prerequisites

  • A modern web browser (Chrome, Firefox, Edge, etc.)
That's it! No installation required.

How to Play

You can play the game directly in your web browser by visiting the following link: Play NoirSQL

Recent projects

HomeLab Controller

HomeLab Controller

gnome
Desktop
C
Avatar
Sep 2026 · 1 min read
A Controller software for my homelab written for Gnome based desktop environments.
The Eden Project
Avatar
Nov 2025 · 4 min read
What if music wasn't so inaccessible..
Run over a Deer
Avatar
Nov 2025 · 1 min read
A Silly little game based on the hit movie Over The Hedge