Question

I'm sorry if this sounds very simplistic, but I've been researching for a couple of days now on how to implement AI into my Tic Tac Toe game. I have a two player game already made that I am very happy about but I have no idea how to put the AI into it. Everything I have found online has been too complicated for me to wrap my head around at my current stage of programming so I was wondering if someone could give me a dumbed down version of this? I have no idea about how to even start this so any help would be much appreciated!

Was it helpful?

Solution

Take a look at this article

http://www.ntu.edu.sg/home/ehchua/programming/java/JavaGame_TicTacToe_AI.html

Since the sintax of the article is in Java but is very close to C#, converting this to C# will allow you to understand how it works

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top