gets opponents move and updates the board