zunda shiwake
- JavaScript 90.1%
- CSS 8.5%
- HTML 1.4%
| .vscode | ||
| assets/images | ||
| deploy | ||
| dist | ||
| src | ||
| .gitignore | ||
| BALANCE_PATCH_NOTES.md | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| styles.css | ||
Chick Sorter v27.14 Balancing Build
Open index.html in a browser.
Production uses the committed dist/game.js bundle. Edit source files under
src/, then run npm install once and npm run build after JavaScript
changes to regenerate the bundle.
Static server cache setup
Serve index.html, the bundled JavaScript, and CSS with cache validation
instead of import query strings. This prevents stale files while keeping reloads
fast.
Use the example in deploy/ for your HTTP server:
- nginx: include
deploy/nginx-cache.confinside the server block. - Apache: copy or include
deploy/apache-cache.htaccessfrom the site root. - Caddy: adapt
deploy/Caddyfile-cache.
After deploying, purge any CDN or reverse-proxy cache once.
Current baseline
- Build, move, box-select, sell, and repair factory equipment during Build phase.
- Start the next day only when at least one EGG route reaches a scanner and then any valid exit.
- Fairies tribute is paid when pressing Next Day, using the previous day's net profit as part of the calculation.
- Bankruptcy is checked at day-end settlement after shipment/event/subsidy revenue. Temporary negative cash during production does not immediately end the game.
- Cards use English names and descriptions with numeric effect summaries.
poop.pngis the only bundled image asset currently used by default; other art falls back to canvas drawing.
Controls
- S1 manual scanner:
A= left /D= right. - S2 manual scanner:
←= left /→= right. - Build phase: left-drag empty map for box selection; drag selected equipment to move it.
- Right-drag: pan.
Ctrl+Z/Ctrl+Y: undo / redo.Esc: cancel upgrade-card target selection.
Cleanup in this build
- Removed duplicate
src/index.htmlandsrc/styles.css; rootindex.htmlandstyles.cssare the single launch surface. - Debug panel is intentionally present for balancing builds. Do not remove it during cleanup unless explicitly requested. Its card menu is grouped and target-consuming cards can be applied to selected targets.
- Removed the obsolete right-side selected-facility panel code left behind after the UI removal.
- Removed stale historical README files and old changelog text that no longer matched the current specification.