Extract card deck code.