Coding Challenge 154: Tic Tac Toe AI with Minimax Algorithm



160
615061

In this challenge I take the Tic Tac Toe game from coding challenge #149 and add an AI opponent for a human player by implementing the Minimax algorithm. 💻Code: https://thecodingtrain.com/CodingChallenges/154-tic-tac-toe-minimax.html 🎥 Coding Challenge #149: Tic Tac Toe: https://youtu.be/GTWrWM1UsnA Links discussed in this video: 🔗 Minimax: https://en.wikipedia.org/wiki/Minimax 🔗 Minimax Algorithm in Game Theory: https://www.geeksforgeeks.org/minimax-algorithm-in-game-theory-set-1-introduction/ 🎥 Algorithms Explained – minimax and alpha-beta pruning: https://youtu.be/l-hh51ncgDI 🚂Website: https://thecodingtrain.com/ 💡Github: https://github.com/CodingTrain 💖Membership: https://youtube.com/thecodingtrain/join 🛒Store: https://www.designbyhumans.com/shop/codingtrain/ 📚Books: https://www.amazon.com/shop/thecodingtrain 🖋️Twitter: https://twitter.com/thecodingtrain 📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct 🌐Help us caption and translate: http://www.youtube.com/timedtext_cs_panel?c=UCvjgXvBlbQiydffZU7m1_aw&tab=2 🚩Suggest Topics: https://github.com/CodingTrain/Rainbow-Topics 👾Share your contribution: https://thecodingtrain.com/Guides/community-contribution-guide.html 🎥Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH 🎥Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA 🔗 p5.js: https://p5js.org 🔗 Processing: https://processing.org Video editing by Mathieu Blanchette. #ai #minimax #game

Published by: The Coding Train Published at: 4 years ago Category: آموزشی