Skip to content

Football: a goal from the kick-off flick does not count - #878

Merged
margani merged 1 commit into
mainfrom
issue/fb-kickoff-goal
Nov 12, 2026
Merged

margani merged 1 commit into
mainfrom
issue/fb-kickoff-goal

Conversation

@margani

@margani margani commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Closes #877

Why: a kick-off flick at the right angle scored almost every time, and the bot learned it, so games ended without real play. A goal from the kick-off flick is now disallowed and the other team kicks off; the message says so, no goal banner shows, the bot scores it as a loss, and the flag is saved and restored.

Tested:

  • node tools/test.js: 9421 green. New group testFootballKickoff fails 11 checks on old main and passes on the branch.
  • tools/browser-check.sh: 75/75 pages.
  • Playwright, phone width, light and dark: message shows after a kick-off goal, no GOAL banner, no page errors.

Not tested: a real phone; Arabic and Hindi strings (those languages are only in open PRs #865 and #869 and will need the new key).

One flick from the starting line-up scored almost every time, and the bot
learned it, so matches ended without a duel. The kick-off goal is now
disallowed and the other team kicks off (#877).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QY4t6rHpbsoE5aS15nw6Z7
@margani
margani merged commit 1da262f into main Nov 12, 2026
4 checks passed
@margani
margani deleted the issue/fb-kickoff-goal branch November 12, 2026 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Button Football: a goal from the kick-off flick should not count

1 participant