Skip to content

Ali-Asgari/Connect_4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Connect 4 Game

Implementation of the classic game Connect 4 using Pygame from Pyhon , MinMax and Greedy algorithms. Connect 4 is a two-player strategy game played on a grid of 6 rows and 7 columns. (You can chnage number of rows and columns in code.)

drawing

Features

  • Interactive Gameplay
  • Play with any grid size
  • Player vs Player
  • Player vs AI Opponent
  • Hard Mode (AI with MinMax algorithm)
  • Easy Mode (AI with Greedy algorithm)

drawing

Usage

python Connect_4.py

Note

Player one color is red and player two color is blue.

About

Implementation of Connect 4 using Pygame

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages