AI can only make the same move 3 times in a row