Pseudo-code and shoe of cards