0

Help with Machine Learning/AI

I want to make an AI or a Machine Learning program that plays a tic tac toe game. Is taking all in-game patterns in a dictionary with the result of the game good? Tic Tac Toe has 19000 possibilities of patterns so I don't know if this is a good method. If u can answer please do. Thanks for the help!

10th Sep 2021, 4:11 PM
Stefano De Angelis
Stefano De Angelis - avatar
1 Answer
0
No , there are algorithms that are designed for automating games like these. Search about min max and alpha beta pruning . Not the best article but it should give you an idea on what is min max. https://www.google.com/url?sa=t&source=web&rct=j&url=https://www.javatpoint.com/mini-max-algorithm-in-ai&ved=2ahUKEwi-8a_u7vTyAhVfxTgGHSoGAl4QFnoECAcQAQ&usg=AOvVaw2M1U9L__wbsHANovRQa-X3&cshid=1631292703183
10th Sep 2021, 4:50 PM
Abhay
Abhay - avatar