basic computer logic works, problems with turns when computer player is active