Skip to content

1.0.6

Choose a tag to compare

@shin4488 shin4488 released this 20 Sep 15:44
· 73 commits to main since this release
183d51e

Fixes

  • Allow guest play to start without Firestore reads or writes, including when the database read quota is exhausted. Guest identifiers are generated locally with cryptographically secure randomness; records are created only when a score is saved. (#28)
  • Detect hits along the ball's path between frames so fast balls cannot pass through scoring targets and be counted as outs. When multiple targets intersect the path, apply the first contact only. (#29)
  • Wait for each pitch to finish before scheduling the next one, preserving the normal four-second cadence and at least 1.5 seconds for result messages. Prevent duplicate game starts. (#29)

Verification

  • Node 24 production build and lint passed; all 72 automated tests passed.
  • Tests cover 410 speed/position combinations, target edges and gaps, adjacent targets, scoring and out counts, fouls, overlapping pitches, game completion, and retry.
  • Browser checks covered desktop and mobile layouts. Production mobile checks confirmed a three-run hit, game completion with three points, and retry resetting the score and counts to zero, with no console errors observed during these guest-play checks.
  • All 12 public files match the validated production build by SHA-256. No test scores were saved to the production rankings.

Known limitation

  • The reported Google sign-in Cross-Origin-Opener-Policy console warning is not addressed by this release. Live Google authentication and production score saving were not re-tested for this release.

Target commit: 183d51e
Deployed site: https://baseballgames.jp.net/