Implemented trading in cards when no moves are available.