Fenceline
A free pixel territory game for the browser. Draw fences across open ground and claim land before the pterodactyl reaches your line. No login, works offline. Fenceline is a Qix-style territory game in a single HTML file, drawn in the style of the offline dinosaur page.
2026

Role
Creator: game design, canvas engine, pixel art and music
Overview
Fenceline is a Qix-style territory game in a single HTML file, drawn in the style of the offline dinosaur page.
You walk the walls, step into open ground to draw a fence and close it on another wall; whatever the pterodactyl cannot reach becomes yours.
The look changes every level between Day, Night and Handheld, each with its own palette, land texture and arrangement of the music.
The soundtrack is built around a two-note whistled call and generated live with WebAudio, so the game ships no audio files.
It has no dependencies and makes no network calls, and it is served as static assets on Cloudflare Workers.
Responsibilities
- Built the game on a 96 by 64 grid on canvas: claiming land is a flood fill from the pterodactyl cells, and everything unreachable is claimed.
- Drew the sprites as small pixel maps and embedded a custom 5 by 7 pixel font, so text and borders keep the dinosaur-page look at any size.
- Wrote a WebAudio lookahead scheduler for the music with three arrangements, one per look, and no audio files.
- Made it work on touch screens with swipe and an on-screen pad, and on desktop with the arrow keys or WASD.
- Prepared it for search: sitemap, canonical URL, Open Graph tags and structured data, deployed on Cloudflare Workers.