Skip to content

BiplopDey/Connect4-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Connect Four 🤖

Connect Four (also known as Four Up, Plot Four, Find Four, Captain's Mistress, Four in a Row, Drop Four, and Gravitrips in the Soviet Union) is a two-player connection board game, in which the players choose a color and then take turns dropping colored tokens into a seven-column, six-row vertically suspended grid. The pieces fall straight down, occupying the lowest available space within the column[https://en.wikipedia.org/wiki/Connect_Four].

Stack

Programmed in C using AI's MiniMax algorithm with alpha-beta pruning.

How to play

You can play against the AI in the following link: https://replit.com/@BiplopDeyqwe/connect4 Enter in the page and click the play button, then when it's your turn, press a key between 0-6 to pick a column. And to exit the game enter -1.

Enjoy playing

And let me knoy if you have won against the AI.

About

Connect4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages