Develop an AI to play Connect Four - Python Tutorial

Subscribers:
10,700,000
Published on ● Video Link: https://www.youtube.com/watch?v=8392NJjj8s0



Duration: 1:26:35
93,396 views
1,131


Learn how to create an expert level artificial intelligence to play Connect Four using Python. We start out with a very simple implementation of just dropping a piece randomly and then progress to choosing a column based on score and then finally implementing the minimax algorithm with alpha beta pruning.

💻 Initial code: https://github.com/KeithGalli/Connect4-Python

🎥Developing the initial connect four game: https://youtu.be/XpYz-q1lxu8
🎥How a board game AI works: https://youtu.be/y7AKtWGOPAE
🎥Alpha-beta pruning: https://youtu.be/l-hh51ncgDI

Video from Keith Galli. Check out his channel: https://www.youtube.com/channel/UCq6XkhO5SZ66N04IcPbqNcw

Keith on social media:
https://www.instagram.com/keithgalli/
https://twitter.com/keithgalli/

--

Learn to code for free and get a developer job: https://www.freecodecamp.org

Read hundreds of articles on programming: https://medium.freecodecamp.org







Tags:
KGMIT
Keith Galli
Connect 4
artificial intelligence
AI
Programming AI
machine learning
how to program connect 4
connect 4 ai
minimax algorithm
alpha-beta pruning
alpha
beta
how to program connect 4 ai
python
python 3
programming game
board game
minimax
python connect 4
four in a row
chess
checkers
othello
programming a chess AI
python AI
expert connect 4 ai
how does a board game AI work
connect 4 computer
computer
python game
program game
pygame