This is a simple implementation of the Connect 4 (Four in a Row) game.
It features randomly selecting a color to play first, automatic detection of a win or tie game, and a win tracker for each color.
The game will automaticaly start when the space is launched. To make a move, click on any of the circles that correspond to the column that you wish to place your token.
The game will automatically place the token into the lowest available spot available for that column, and swap to the other player's turn.
Once the game detects a match of 4 in a row, the winner is declared!
Be the first to comment:
Comments