almost a real repl
This commit is contained in:
3
index.ts
3
index.ts
@ -1,6 +1,7 @@
|
||||
import {
|
||||
mainloop,
|
||||
frame,
|
||||
clearScreen,
|
||||
} from "./window.ts";
|
||||
import { codeSheet } from "./sheet.ts";
|
||||
import { refreshKeyboard } from "./keyboard.ts";
|
||||
@ -11,6 +12,8 @@ const game = codeSheet(0);
|
||||
game.init();
|
||||
|
||||
let mode: "play" | "edit" = "edit";
|
||||
|
||||
clearScreen();
|
||||
|
||||
await mainloop((_t) => {
|
||||
// TODO: use t
|
||||
|
Reference in New Issue
Block a user