nibble.asm$E770 · car.bin

NIBBLE

A small maze game. Eat the crumbs, avoid the lurkers, clear the level. It stays that way for about two levels...

run/play/nibble/
↗ new tab

// Keyboard needed, sound recommended. Contains flashing images, sudden loud noises and jump scares. It looks up your approximate city from your IP address.

README.mdnibble/index.mdx

A maze game. You are Nib. Eat the crumbs, avoid the lurkers, grab a chili pepper to turn the chase around. Level 1 is 60 crumbs.

It is a real game the whole way through, about twenty minutes long, and it is best played without knowing more than that. Use headphones.

Controls

  • Arrows / WASD move
  • X closes things, and attacks when there is something to attack
  • Space jumps, once the game lets you
  • P pauses

Before you play

  • Flashing and noise. There are sub-second image flashes, screen shake, distorted audio and a few jump scares.
  • Your location. When a game starts, the page asks a public IP-geolocation service (geojs.io, falling back to ipwho.is) for your approximate city, and the game uses it in its text. Nothing else leaves your browser and nothing is stored on a server. If the lookup fails it guesses from your time zone.
  • Your camera. At one point the game says something about your camera. It never asks for or uses it.

How it’s made

Plain HTML and JavaScript on one canvas, no build step and no engine. The mazes are generated, the music and every sound effect are synthesised in the browser with WebAudio, and one projection function bends the same maze into every shape it takes.

The pictures are public-domain paintings and freely licensed photographs from Wikimedia Commons, plus CC0 sprite sheets by Kenney. Every image is listed with its author and licence in the credits.