How To Write A Good Game Playing Ai. So, both of them try to make the best move possible at each turn. Add in side quests, npcs, and other small details.

Playing against these ais doesn't actually teach the player to play the game well: This approach is so simple that the whole sense/think/act cycle is barely visible. You zoom in, and leave things out.