TypeScript · DOM-optional · MIT
A 2D grid for web games
Stateful coordinates, movement rules, events, zoom regions, and optional rendering — or use it headless as a pure matrix API.
Zoom demo
Explore quadrant zoom, region tracking, and slide transitions on a 20×20 maze — built with the library.
Open demo →API reference
Full TypeDoc coverage for GameGrid, options, events, zoom
helpers, and exported types.
Source on GitHub
Issues, releases, and the full README with install instructions and configuration examples.
View repository →