A collection of JavaScript modules.
I always start developing a game from scratch and rewrite everything for new projects, which I never finish. The goal of this repository is to contain all my unfinished project modules, so I can track which modules are rewritten frequently.
Every module should contains:
index.html
file with a script tag pointed toout.js
main.js
file importing the moduleindex.js
file- some testing scripts
Then you can:
- Run
npx esbuild MODULE_DIR/main.js --outfile=MODULE_DIR/out.js --bundle --sourcemap
- Open
MODULE_DIR/index.html