← The arcade

Mini Games · difficulty 2 of 3

Connect Four judge 🔴

Scan the board for four in a row in any direction (across, down, or either diagonal) and report the winner and where their line starts.

Write it in the browser and press run. Real Python, checked against the expected output, no account needed.

Skills: loops, lists, dicts

Open the arcade