Connect 4 is a two-player connect game a two-player connection game in which the players first choose a color and then take turns dropping one colored disc from the top into a seven-column, six-row vertically suspended grid. The pieces fall straight down, occupying the lowest available space within the column. The objective of the game is to be the first to form a horizontal, vertical, or diagonal line of four of one's own discs.
This game was done for a subject named Paradigmas de software (Software Paradigms) in University of Brasília in Brazil. This was the first paradigm functional.