Tic Tac Toe Resources

Tic Tac Toe Resources


Hi all,

Has anyone come across any good resources for implementing an algorithm for tic tac toe? I’m looking for something that kind of explains it step by step. I’ve read all of the posts in this forum and searched Google and YouTube and just haven’t been able to find anything that helps it make sense for me. Right now, I can only make a version of the game where the computer selects a random square. I want to make an unbeatable version of the game, but I have been stuck on this for quite a while and I’m not sure where to go from here, so if anyone has suggestions or resources that they found, I’d really appreciate hearing about them.



If you familiar with java - here is solution - https://www.ntu.edu.sg/home/ehchua/programming/java/JavaGame_TicTacToe_AI.html