ADR 003: resolve the two axes in separate passes
Status: accepted
Decision
step calls resolve_paddle_hits after move_ball_x and resolve_wall_hits after move_ball_y. Each pass changes only the coordinate it owns. A paddle overlap reverses vx and pushes the ball clear in x. A wall overlap reverses vy and clamps y.
Reason
A ball that hits a corner can overlap a paddle and a wall in the same step. Resolving one combined rectangle test would pick a winner by code order, and the loser would stay overlapped until the next step. The two passes answer two different questions: did the ball cross a paddle face, and did it cross a wall. Each answer has one obvious correction.
Consequences
Collision code stays a few short procedures with no corner cases to enumerate. A reader can add a wall or move a paddle without reworking the other pass. The ball can still leave through the goal line; score_if_out handles that after both passes.