You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Judge bat hits by the rotated bat's box: at any swing angle, the ball hits when its center is within 20px of the 20×120px bat box, and contact between the 30ms checks also counts, so the bat no longer passes through the ball between checks (#47). The old rule, which allowed hits from 20px above to 70px below the top edge of the bat's bounding box, is removed.
Measure vector length from both components, and take random ranges in (min, max) order, so the pitch speed is 10–30px and the horizontal speed after a hit is -30 to 30px (#47).
Document the bat hit rules with figures in the README (#47).
Correct comments and documents, and remove unused Vue data, dependencies (babel-plugin-transform-runtime and core-js) and settings (#46).
Clear lint and format warnings, add yarn lint and yarn format:check, and build before running tests (#45).
Install the nginx image packages without prompting, so docker compose up -d no longer stops while building web/Dockerfile (#48). The production nginx is unchanged.
Update prettier to 3.9.10, eslint-plugin-prettier to 5.5.7, launch-editor to 2.14.2, fast-uri to 3.1.9 and serialize-javascript to 7.1.4 (#43, #44, #49, #50).
Validate with a frozen install, the production build and all 110 tests in Node 24.
Confirm the production JavaScript and CSS match their integrity hashes.