import * as graphics from "./graphics.mjs"; import { BOX_SIZE, get_tile } from "./world.mjs"; import "./player.mjs"; function render (timestamp) { graphics.clear(); graphics.draw_world(BOX_SIZE, get_tile); graphics.render(); requestAnimationFrame(render); } requestAnimationFrame(render);