feat(#8): modularizing

This commit is contained in:
Juan Sebastián Montoya 2024-09-13 21:45:59 -05:00
parent f300fe1be7
commit 32dd2ad599
11 changed files with 271 additions and 94 deletions

View file

@ -1,4 +0,0 @@
export async function getLevel(name) {
const level = await fetch("/resources/" + name + ".json");
return await level.json();
}