Skip to content

Air Traffic Control

A flight-path drawing arcade game for Android, browsers, Windows, and Linux, built so that flight simulation, rendering, and local progression stay separate and testable.

Role
Game design and TypeScript engineering
Scope
Traffic simulation, pointer routing, local progression, browser delivery, and Windows and Linux desktop distribution
Status
Google Play distribution for Android, browser deployment, Microsoft Store distribution for Windows, and Snap Store distribution for Linux

Problem

A flight-path drawing game needs collision and landing rules that agree with what players see, while keeping progress meaningful across short sessions and different screen layouts.

Constraints

  1. C1

    Flight paths require mouse, touch, or pen input; keyboard navigation alone does not cover gameplay.

  2. C2

    Browser and desktop saves are separate and local, with no cloud sync or save export.

  3. C3

    Browser offline play requires an initial online visit and successful asset caching.

  4. C4

    Resizing or changing orientation can invalidate an active airfield layout. Broader real-device testing and difficulty tuning remain ongoing.

Architecture

A framework-independent TypeScript simulation feeds Phaser rendering and pointer interactions. DOM menus coordinate sessions, IndexedDB persists local progression, and Vite builds browser and Electron delivery targets.

01

Simulation

Fixed-step updates at 1/60 second, seeded random traffic, flight-path geometry, and aircraft-shaped collision polygons live outside Phaser.

02

Interaction and rendering

Phaser scenes render airfields and aircraft, while pointer routes guide aircraft to matching landing zones. DOM menus expose difficulty, career, achievements, and settings.

03

Local progression

IndexedDB stores versioned saves, career progression, achievements, and records. Completed shifts contribute progress; practice and abandoned shifts do not.

04

Delivery

Vite and a service worker support cached browser play. Electron loads bundled assets through a restricted custom protocol, with AppImage and Snap packaging for Linux. Android players can install the game from Google Play. Windows players can install the game from the Microsoft Store.

Decisions

D1

Keep simulation independent from rendering

A fixed-step simulation and seeded traffic make gameplay rules testable without a browser renderer. The fixed step is an update interval, not a measured frame-rate guarantee.

D2

Match collisions to visible aircraft

Collision outlines follow the airframe heading and exclude selection halos, shadows, and rotor blur so visual effects do not become fatal collision surfaces.

D3

Commit progression at session completion

Recording outcomes only when a shift finishes keeps practice, restarts, and abandoned sessions from inflating career progress.

D4

Ship the same game with explicit storage boundaries

The browser uses cached assets and site-local saves, while the desktop app bundles its assets and keeps separate local saves, so neither implies cross-device synchronization.

Contribution

  • Implemented aircraft routing, traffic pacing, landing checks, and collision geometry.
  • Built nine airfields, three difficulty levels, seven career ranks, and nine achievements.
  • Integrated IndexedDB persistence, offline browser assets, and desktop distribution for Windows and Linux.
  • Added automated coverage for simulation, progression, storage, audio, and UI behavior.

Outcomes

  • Players can draw routes for three aircraft types on Android, in the browser, or in Windows and Linux desktop apps. The Android release features twelve airfields; the browser and desktop versions documented here feature nine.
  • Local career progression and achievements persist between completed sessions without requiring an account.
  • The simulation can be tested independently of Phaser rendering.
  • The product provides a Google Play installation path for Android, a browser entry point, a Microsoft Store installation path for Windows, and a Snap Store installation path for Linux.

Product screenshots

Air Traffic Control airfield with an airliner, a commuter aircraft, and a helicopter following drawn routes to their runways and helipad
Air Traffic Control tutorial showing an aircraft path drawn to Runway C, with colour-matched landing zones for each aircraft type
Air Traffic Control aircraft placed in a holding circle to keep it clear of another aircraft's approach
Air Traffic Control held aircraft given a new path to the L runway after the conflicting traffic clears
Air Traffic Control Island Rescue airfield with two runways and offshore helipads
Air Traffic Control Carrier Coast airfield with a coastal runway, a helipad, and an aircraft carrier offshore
Air Traffic Control Blue Water airfield where aircraft and helicopters land on an aircraft carrier at sea
Air Traffic Control night mode with runway lights, aircraft headlights, and routes drawn in the dark

1 / 8

Players draw a path for each aircraft type to its matching runway or helipad and keep the traffic apart.

Verified stack

  • TypeScript
  • Phaser
  • Vite
  • Electron
  • IndexedDB
  • Progressive Web App
  • Vitest
  • Playwright

Working through something similar?

Share your challenge, scope, and timeline to start a focused conversation.