Artificial Intelligence in Tic-Tac-Toe using C#
问题 I have made a Tic-Tac-Toe game for 2 players. Now, I want to give the game Artificial Intelligence. So that game can be played between 1 player and computer . Please, help How do I start? 回答1: With Tic Tac Toe it's not so much an AI but a lookup table: For each possible board layout, find the best spot. XKCD has such a lookup table. Basically each Board Layout gets a unique ID and the address of the field where to set the next mark. Wikipedia has that table in another format. The table works