Four In Line

Rules

This is our AI implementation of the popular game.

Two players take turns dropping red and yellow disks into a six-row, seven-column grid.

The objective of the game is to be the first to form a horizontal, vertical, or diagonal line of four of one's own disks.

The history of the game and mathematical background is described in Wikipedia.

Settings

You can choose the AI level to play against. 

There are two options that you can configure:




The game ends when one of the players gets four of their disks in a row, or when there are no more empty spaces in the grid.