precision-game/js/main.mjs

18 lines
222 B
JavaScript
Raw Normal View History

2023-10-25 17:17:07 +00:00
import { render } from "./graphics.mjs";
2023-10-25 17:37:08 +00:00
import { tick } from "./tick.mjs";
import * as level from "./level.mjs";
2023-10-25 17:37:08 +00:00
function main () {
render();
tick();
requestAnimationFrame(main);
}
2023-10-27 11:57:10 +00:00
level.load_current();
2023-10-25 17:37:08 +00:00
main();