2026-06-08 18:01:20 +09:00
|
|
|
# Chick Sorter v27.0 Cleanup Build
|
2026-06-08 13:18:33 +09:00
|
|
|
|
2026-06-08 18:01:20 +09:00
|
|
|
Open `index.html` in a browser.
|
2026-06-08 13:18:33 +09:00
|
|
|
|
2026-06-08 23:53:34 +09:00
|
|
|
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.conf` inside the server block.
|
|
|
|
|
- Apache: copy or include `deploy/apache-cache.htaccess` from the site root.
|
|
|
|
|
- Caddy: adapt `deploy/Caddyfile-cache`.
|
|
|
|
|
|
|
|
|
|
After deploying, purge any CDN or reverse-proxy cache once.
|
|
|
|
|
|
2026-06-08 18:01:20 +09:00
|
|
|
## Current baseline
|
2026-06-08 13:18:33 +09:00
|
|
|
|
2026-06-08 18:01:20 +09:00
|
|
|
- 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 after day-end settlement and before the next Build phase.
|
|
|
|
|
- Bankruptcy is checked only at that day-end transition. Temporary negative cash during production does not immediately end the game.
|
|
|
|
|
- Cards use English names and descriptions with numeric effect summaries.
|
|
|
|
|
- `poop.png` is the only bundled image asset currently used by default; other art falls back to canvas drawing.
|
2026-06-08 13:18:33 +09:00
|
|
|
|
2026-06-08 18:01:20 +09:00
|
|
|
## Controls
|
2026-06-08 13:18:33 +09:00
|
|
|
|
2026-06-08 18:01:20 +09:00
|
|
|
- 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.
|
2026-06-08 13:18:33 +09:00
|
|
|
|
2026-06-08 18:01:20 +09:00
|
|
|
## Cleanup in this build
|
2026-06-08 13:18:33 +09:00
|
|
|
|
2026-06-08 18:01:20 +09:00
|
|
|
- Removed duplicate `src/index.html` and `src/styles.css`; root `index.html` and `styles.css` are the single launch surface.
|
|
|
|
|
- Removed the old debug panel, debug hotkey, debug event log, and free-upgrade/debug-cash code.
|
|
|
|
|
- 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.
|