precision-game/js/main.mjs

19 lines
293 B
JavaScript
Raw Normal View History

2023-10-25 17:17:07 +00:00
import { assert } from "./test.mjs";
import { render } from "./graphics.mjs";
2023-10-25 17:37:08 +00:00
import { tick } from "./tick.mjs";
2023-10-25 17:17:07 +00:00
import { set_pos, get_pos, move } from "./entity.mjs";
import { player } from "./player.mjs";
2023-10-25 17:37:08 +00:00
function main () {
render();
tick();
requestAnimationFrame(main);
}
main();