Logo

Develop an AI to play Connect Four - Python Tutorial

Develop an AI to play Connect Four - Python Tutorial

Expert

Created by

freeCodeCamp

Expert

Created by

freeCodeCamp

0.00 (0 ratings)

Posted on May 29th 2019

|

English

|

01h 15m

Share

Wishlist


Overview

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

No Reviews at this moment.

Explore Skillqore

Skillqore Newsletter

Keep me up to date with content, updates, and offers from Skillqore


Copyright 漏 2020 Skillqore, Inc. All Rights Reserved.