UNPKG

ridder

Version:

A straightforward game engine for simple data-driven games in JavaScript

12 lines (11 loc) 243 B
type Config = { width: number; height: number; setup: () => Promise<void>; update: () => void; }; /** * Run the game with your logic updates and rendering. */ export declare function run(c: Config): Promise<void>; export {};