computer ai able to take turn in game