fantasy-console/game.ts
2023-05-01 11:12:08 -07:00

19 lines
208 B
TypeScript

import faux from "./builtins.ts";
let y = 0;
export default {
init() {
},
update() {
y++;
if (y>127) {
y=-5;
}
},
draw() {
faux.clearScreen();
faux.drawText(0, y, "hello, world");
},
}