zunda shiwake
  • JavaScript 90.1%
  • CSS 8.5%
  • HTML 1.4%
Find a file
2026-06-11 22:49:46 +09:00
.vscode fiirst 2026-06-07 15:05:24 +09:00
assets twe 2026-06-11 22:49:46 +09:00
deploy tweaks 2026-06-08 23:53:34 +09:00
dist twe 2026-06-11 22:49:46 +09:00
src twe 2026-06-11 22:49:46 +09:00
.gitignore tweaks 2026-06-08 23:53:34 +09:00
codex_all_new_ideas_prompt_en.md twe 2026-06-11 22:49:46 +09:00
index.html twe 2026-06-11 22:49:46 +09:00
package-lock.json twe 2026-06-11 22:49:46 +09:00
package.json twe 2026-06-11 22:49:46 +09:00
README.md twe 2026-06-11 22:49:46 +09:00
styles.css twe 2026-06-11 22:49:46 +09:00

Chick Sorter

Serve this folder with a static HTTP server and open index.html.

The launch page uses:

  • styles.css
  • dist/game.js

Build

Run npm install once, then npm run build after editing JavaScript.

Current gameplay specification (v28.21)

Boost conveyor rendering hotfix (v28.21)

  • Fixed a runtime ReferenceError caused by an undeclared boost variable in the animated conveyor renderer.
  • Added a runtime smoke test for both normal and boost conveyor drawing.

Input and motion fixes (v28.20)

  • Clicking either end of a conveyor run now reverses the complete run, including the clicked terminal tile.
  • Conveyor stripe animation uses the same effective pixels per second as chicks on each tile. Boost Conveyor is therefore exactly 2× the normal animation speed before other modifiers.
  • NEXT DAY no longer rebuilds its child markup every frame, preventing lost clicks during pointer press/release.
  • Explosion debris horizontal velocity is reduced to 82% while vertical launch energy is unchanged.

Land expansion

  • Each purchase adds a 10×10 lot.
  • First expansion costs JPY 850.
  • Later prices use linear growth: 850 × (1 + 0.75 × previous purchases), rounded down to JPY 50.
  • Expected prices: JPY 850, 1,450, 2,100, 2,750, 3,400...

Map obstacles

  • Initial no-build ratio: 0%.
  • Each purchased lot adds 0.75 percentage points to that lot's obstacle ratio.
  • Obstacle ratio is capped at 12%.

Scanners

  • Scanner footprint: 2×2 grid cells.
  • Lv1 Auto Scanner cooldown: 1.5 seconds, about 40 items/day.
  • This equals about 2.1 average Lv1 Egg Farms.
  • Auto Scanner local and global tuning each multiply cooldown by 0.95 per upgrade.

Mixer / Sausage production chain

  • Mixer remains an external edge facility.
  • When mounted along a horizontal map edge, its chick inlet is on the top of the body and its meat outlet is on the bottom.
  • When mounted along a vertical map edge, its chick inlet is on the left of the body and its meat outlet is on the right.
  • The inlet and outlet use separate receiver cells, leaving the cell between them open.
  • A non-poop chick processed by Mixer creates 1 meat when the outlet conveyor is present and clear.
  • If meat cannot leave the outlet because no conveyor is connected or the outlet cell is occupied, Mixer falls back to a fixed direct sale of JPY 5. Mixer upgrades affect sausage value, not this fallback.
  • Sausage Machine costs JPY 380 and occupies exactly 3×3 owned grid cells.
  • Its single meat inlet is one cell left of the middle row; its single sausage outlet is one cell right of the middle row.
  • Placement is rejected if the 3×3 body or either port would be outside owned, usable grid space.
  • It consumes 2 meat and outputs 1 sausage.
  • Sausages are accepted by Truck regardless of the live-cargo event target.
  • Base sausage sale value is JPY 26.
  • MIXER Improvement and SAUSAGE MACHINE Improvement each multiply sausage value by 1.10 per installed level.

Conveyor branches

  • Fixed branch direction is shown by a triangle rather than an RT/direction abbreviation.
  • A branch never offers a direction that points back toward an incoming conveyor.
  • Branch selection is unavailable unless at least two outgoing conveyors remain after incoming directions are removed.

Camera controls

  • Build phase: right- or middle-drag pans the camera.
  • Factory-running phase: left-, right-, or middle-drag pans the camera.
  • Mouse wheel zoom remains available during both phases.

Shredder upgrades

  • SHREDDER Improvement uses a nonlinear scrap lottery.
  • Upgrade count increases payout approximately with 1.6 × cards^1.25.
  • It also increases hit chance from 28%, by 1.8 percentage points per upgrade, capped at 82%.
  • Winning payouts roll 1×, 2×, 4×, or 10×.
  • Big-win and jackpot odds increase as more SHREDDER Improvement cards are installed.

Card eligibility

  • Equipment-targeted cards are excluded when no valid target exists.
  • Equipment-specific passive cards can declare facility requirements and are excluded while those facilities are absent.

Other verified rules

  • Floor slime is deterministic decoration.
  • Dynamite removes up to 3 selected blocked cells.
  • Bankruptcy is checked only after day-end settlement.