Develop an AI to play Connect Four – Python Tutorial

Develop an AI to play Connect Four – Python Tutorial
0
(0)

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

And subscribe for new videos on technology every day: https://youtube.com/subscription_center?add_user=freecodecamp

Similar Posts:

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

As you found this post useful…

Follow us on social media!

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Comments

13 responses to “Develop an AI to play Connect Four – Python Tutorial”

  1. Thanks for watching guys! Check out my channel for more python programming videos 🙂

  2. AI is the future 🔥

  3. please make complete course on laravel 5.8 its my humble request to you

  4. For Developers in USA that are looking for a high paying developer job check out
    https://triplebyte.com/iv/Wplsk8g/cp NO resume required

  5. Sorry but MiniMax with Alpha-Beta pruning is NOT an A.I. Please don't use clickbait titles just for views. Looking forward to a solution with a simple NN, GAN or LSTM.

  6. Nice demo–learning about 2-player game dev. And also not AI, simply human algorithm-weighted scoring..

  7. Please put the links to the videos that you refer to.

  8. how did he run it

  9. I love Python and I'll love learn AI, but in Portuguese there are few videos about AI in Python.
    My English is basic. I can understand few words and expressions in the video.
    Translate this video to Portuguese from Brazil if it is possible. PLEASE
    (Some words may be wrong, thanks)

  10. I would love to see a 4hr vid of learning lua

Leave a Reply

Your email address will not be published. Required fields are marked *