precision-game/js/main.mjs
2023-10-25 19:37:08 +02:00

19 lines
293 B
JavaScript

import { assert } from "./test.mjs";
import { render } from "./graphics.mjs";
import { tick } from "./tick.mjs";
import { set_pos, get_pos, move } from "./entity.mjs";
import { player } from "./player.mjs";
function main () {
render();
tick();
requestAnimationFrame(main);
}
main();