Orange Circle Platformer packaged for browser play, Docker hosting, and an installable Electron desktop app.
Install dependencies once:
npm installStart the web version:
npm run webThen open:
http://127.0.0.1:5177/
Run the Electron app in development:
npm run desktopBuild an installable desktop package:
npm run distBuild output is written to dist/.
Build and run the web version in Docker:
docker compose up --buildThen open:
http://127.0.0.1:8080/
The app is now ready to be hosted as a normal web page. Safer options:
- Deploy the Docker image to a VPS or app host.
- Use a Cloudflare Tunnel to expose the Docker container without router port forwarding.
- Use router port forwarding only if you understand the network exposure and have firewall rules in place.
For a public container, the app listens on HOST=0.0.0.0 and PORT=8080.
npm run check
npm test