fantasy-console/index.ts
2023-05-02 17:06:54 -07:00

17 lines
218 B
TypeScript

import {
mainloop,
frame,
} from "./window.ts";
import { codeSheet } from "./sheet.ts";
const game = codeSheet(0);
game.init();
await mainloop((_t) => {
// TODO: use t
game.update();
game.draw();
frame();
});