Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 520 Bytes

README.md

File metadata and controls

5 lines (3 loc) · 520 Bytes

Connect-4

playgame implements the Board and Player classes to play a game of Connect Four to play the game use command connect_four(Player('X'), Player('O'))

the AIPlayer class contains a player which plays randomly as well as a player which plays intelligently by looking ahead a certain number of plays to see all the possible outcomes of a certain play, and assigns a score to each possible play based on how advantageous it will be for the player. You can play against the AI Player or pit 2 against eachother.