The slot can be picked with the mouse pointer, the chip is dropped on click.
Alternately, the slot can be picked with the left and right arrow keys while the enter key makes a chip drop.
The four red chips make a line of four diagonally, as presented by the game.
The winner is celebrated excessively with a color feast.
Connect-Four

Connect-Four is a JavaScript adaptation of the original Connect Four by Howard Wexler.
Two players alternately insert chips into slots on top of the game board, dropping them to the lowermost point of that slot. When a player manages to have four chips of his color in a row he wins the game.
Created with PIXI.js library using Brackets Editor
One man project

Benjamin Rosenberger
Game Designer & Developer Berlin, Germany