Pure canvas / vanilla JS
One HTML file plus a few scripts and assets. Great for arcade, puzzle, and tiny experiments.
- Put index.html at the root of the folder you compress
- Load scripts and assets with relative paths (./game.js, ./assets/…)
- Avoid fetch() to other domains unless you know CORS is fine
- Test by opening index.html locally in Chrome before uploading