This commit is contained in:
30 files changed
+3776
No files matched your search
@@ -0,0 +1,37 @@
|
||||
# Heavy Metal
|
||||
|
||||
A modern browser adaptation of the classic heavy coin puzzle. Ten bags, one digital scale, and one chance to identify the heavy coins.
|
||||
|
||||
## Play
|
||||
|
||||
[Play on GitHub Pages](https://meghdadfadaee.github.io/heavy-metal/)
|
||||
|
||||
## Development
|
||||
|
||||
Requires Node.js 22 or newer.
|
||||
|
||||
```bash
|
||||
npm install
|
||||
npm run dev
|
||||
```
|
||||
|
||||
Production checks:
|
||||
|
||||
```bash
|
||||
npm run lint
|
||||
npm run build
|
||||
```
|
||||
|
||||
## Deployment
|
||||
|
||||
Every push to `main` runs the GitHub Pages workflow in `.github/workflows/deploy-pages.yml`. The workflow checks, builds, and publishes the `dist` artifact.
|
||||
|
||||
The Vite build uses relative asset paths, so the same output works at both:
|
||||
|
||||
- `https://meghdadfadaee.github.io/heavy-metal/`
|
||||
|
||||
To use a custom domain, enter it in the repository's **Settings → Pages → Custom domain** field and configure the DNS records GitHub provides. GitHub will manage the domain association and HTTPS certificate.
|
||||
|
||||
## License
|
||||
|
||||
[MIT](LICENSE)
|
||||
Reference in new issue
Block a user