DS.
← All projectsCase study / Compote Stealer

Compote Stealer

Her basement. Her compotes. Your questionable life choices. A small arcade survival game where every jar is worth points and every extra detour gives Babushka another chance to catch you.

Screenshot of Compote Stealer

The problem it helps solve.

Compote Stealer explores a different kind of interactive experience from a business dashboard. It turns a simple idea into a complete game: a readable playfield, responsive controls, an opponent that navigates around shelves, escalating levels, and a reason to play another round. The challenge is to balance collecting valuable jars with staying alive long enough to reach the next basement.

Who it is for: Casual players who want a quick arcade challenge on a computer, tablet, or phone.

A closer look, screen by screen.

Actual screenshots from the live project. Select a picture to open it at full size.

01

Start a heist and learn the controls

The opening screen introduces the premise and keeps the first action simple: start playing. The game display shows your haul, remaining time, three lives, and the current basement. The controls stay close to the play area so you can check them without leaving the game.

  1. Choose Let’s steal some compote to begin. Move with WASD or the arrow keys; on a touch device, use the directional buttons below the game.
  2. Hold Space, or the touch Sprint button, for a burst of speed. Sprinting uses stamina, so release it to let the energy bar refill.
  3. Open How to play for a reminder, or enable Sound from the top bar if you want the optional effects. Press P, Escape, or the pause button whenever you need a break.
The start screen introduces the game, score display, and keyboard or touch controls.View full size ↗
The start screen introduces the game, score display, and keyboard or touch controls.
02

Collect the loot while staying one step ahead

Walk over jars to collect them while Babushka chases you through the corridors. Shelves block movement, so positioning and route choices matter. Valuable jars tempt you into longer detours, while a limited sprint gives you a way out when the chase gets close.

  1. Collect cherry jars for 10 points, apricot for 25, plum for 50, and golden pear for 100. Clear all 22 jars for a 250-point bonus and a fresh batch.
  2. Avoid Babushka: each catch costs one of your three lives. A short grace period lets you recover, and your score carries across lives and levels.
  3. Survive the first 45-second countdown to earn a bonus of 100 times the basement number and move on automatically. Babushka gets faster, five layouts cycle, and the timer shortens every two levels to a minimum of 30 seconds.
The live playfield uses shelves, collectible jars, and a pursuing opponent to create the arcade challenge.View full size ↗
The live playfield uses shelves, collectible jars, and a pursuing opponent to create the arcade challenge.
03

Pause, save your score, and try another run

A run ends when all three lives are lost, but you can also finish it from the pause menu. The results screen brings together your points, jars collected, and basement reached, then lets you save a name with the score or start over.

  1. Pause with P, Escape, or the pause control. Back to the basement resumes the chase; End run & save score takes you to the results screen. Leaving the browser tab also pauses play automatically.
  2. Enter a leaderboard name and select Save score. Open High scores to review the top ten scores stored in this browser.
  3. Choose Another little heist? Play again to start fresh with three lives. Clearing site data removes saved records, and scores do not transfer to another browser or device.
The results screen offers local score saving and a quick way to start another heist.View full size ↗
The results screen offers local score saving and a quick way to start another heist.

Take it for a short test drive.

Start a run, collect a few jars, and use a short sprint to escape Babushka. Pause, choose End run & save score, and save a sample name. Open High scores, then refresh the page to check that your record is still there.

Open live project ↗

Technical details

The languages, tools, hosting, and data storage used in this project.

Languages & interface
JavaScript modules, HTML, and CSS. The game runs directly in the browser without a frontend framework or third-party runtime packages.
Game engine & artwork
The game rules, renderer, and browser input are separate modules. Canvas draws the pixel artwork; CSS builds the page and jar decorations. The engine handles movement, collisions, opponent pathfinding, stamina, scoring, and level progression.
Audio & storage
Web Audio generates optional sound effects. Browser localStorage saves the top ten scores. There is no account system, backend server, or shared leaderboard database.
Build, checks & hosting
Node.js scripts create the static production build, and the Node test runner checks gameplay and persistence behaviour. Published on Netlify at compote-stealer.dimitar-shopov.dev.