Skip to main content

Labs

1 · Interactive Penalty & Card Escalation Tree

A flowchart simulator for soccer fouls, built on the well-known IFAB Laws of the Game framework (Law 12). Toggle the conditions and the tree returns the restart, the card and the player count. Competition variations exist — leagues and tournaments can differ on details, and the referee’s judgement of the actual challenge always governs.

Restart
—
Card
—
Players remaining
11 v 11

Framework summary: DOGSO inside the box with a genuine attempt for the ball = penalty kick + yellow card (the penalty itself is the restored opportunity). DOGSO outside the box = direct free kick + red card. DOGSO by handball or a foul with no attempt for the ball = penalty (if in box) + red. SPA = yellow card. Reckless = yellow; excessive force = red, wherever it happens.

Back to all labs.