Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Develop an AI to play Connect Four - Python Tutorial
Play lesson

Game Programming Tutorials - Develop an AI to play Connect Four - Python Tutorial

4.0 (1)
21 learners

What you'll learn

This course includes

  • 46.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

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/ ❤️ Try interactive Python courses we love, right in your browser: https://scrimba.com/freeCodeCamp-Python (Made possible by a grant from our friends at Scrimba) -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://medium.freecodecamp.org

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

FAQs

Course Hive
Download CourseHive
Keep learning anywhere