Added decideNextMove()