This is an HTML, Javascript, and CSS version of the game connect for for 2 players
First, player 1 and player 2 must choose their colors. The color name must be a vaild css color name and the player 1 and player 2 must choose different colors.
Player 1 and 2 alternate turns. On each turn, a piece is dropped down a column until a player gets four-in-a-row (horizizontal, vertical, or diagonal) or until the board is filled and the game ends in a tie.