Communicating the Card

(An implementation of the algorithm described in part 5 of the paper Using a Card Trick to Teach Discrete Mathematics by Shai Simonson and Tara S. Holm.)
(I first heard about this trick in December 2017 from hpmetsfan.)

Assistant Instructions




Magician Instructions