Build Connect Four for two players on one device. The board has 7 columns × 6 rows. Players take turns dropping a disc into a column. The disc falls to the lowest empty cell in that column. The first player to line up four discs horizontally, vertically or diagonally wins. Red moves first, then Yellow.
The starter renders an empty board and a row of column buttons.
Column 3, full and is marked unavailable.role="status") shows whose turn it is and the last move, for example Yellow dropped in column 4. Red's turn., or Red wins! / It's a draw. After the game ends, drops are ignored.Drop in column N and form a single tab stop. <kbd>←</kbd>/<kbd>→</kbd> move between columns, <kbd>Home</kbd>/<kbd>End</kbd> jump to the first and last column, and <kbd>Enter</kbd>/<kbd>Space</kbd> drop.Row 6, column 1, red.prefers-reduced-motion.Spotted a mistake or a rights concern? Report an issue