About
## Challenges we ran into
**1. A circular import that killed the build.** `engine/scene.py` ended up importing itself (`from engine.scene import Scene`), crashing the game on launch. We traced the stack to the scene module and removed the self-import — the base `Scene` and `SceneManager` live in that file, so nothing needed to import it.
**2. Dialogue JSON refusing to load.** Loading the cutscene files threw `JSONDecodeError: Expecting value: line 1 column 1`. The files had been saved on Windows with a UTF-8 byte-order mark that `json.load` choked on. We switched the loader to open with `encoding="utf-8-sig"`, which transparently swallows the BOM, and the cinematics loaded cleanly.
**3. Audio that wouldn't behave.** Sounds either bled across scenes (the loading track leaking into Stage 1), never stopped (the detection alarm ringing after we left the vision cone), or stayed silent entirely. The music bug was a fade-out timer halting the next track ~400ms after it started — fixed by switching to an immediate `mixer.music.stop()`. We then standardized one rule across every effect: loop a sound while its moment is active, stop it the instant the moment ends, regardless of clip length. The total silence turned out to be WSL not routing audio to the host, solved by running the demo on native Windows.
**4. Building in parallel without stepping on each other.** With two people on a 20-hour clock, we kept levels, dialogue, and puzzles as data files (CSV rooms, JSON conversations) and defined a fixed interface for the shared hazard class so each of us could code against it independently. Merges still produced conflicts in the core files, which we resolved by keeping both intended changes rather than picking a winner.
## The problem it solves
Most 2D stealth games lean on one idea — sneak past the guard. **Project Gargantua** fuses two unrelated mechanics into a single loop: **line-of-sight stealth** and **memory reconstruction**. You don't just avoid enemies, you investigate the world they haunt and piece a fractured memory back into the correct order to progress.
The result is a short, narrative-driven experience: - You play a recovery team member diving into the mind of a comatose scientist to recover a lost emergency-shutdown sequence before a catastrophe reactivates. - Each stage is a top-down room where you evade a patrolling "corrupted memory" (with a real vision cone and raycast line-of-sight), hold-to-investigate terminals that emit noise and lure enemies, and survive an environmental hazard (the Memory Tide). - The finale hands you an interactive puzzle where you reorder memory fragments; get it right and the true memory plays, ending on a branching choice with two distinct outcomes.
It runs on pure Python + pygame with no game engine, so it launches anywhere Python does — no install beyond two pip packages. Missing-asset fallbacks mean it stays playable even mid-development, which let two of us build and demo it inside a 20-hour window.
Screenshots
Team
From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.











