Behind great magic there often lies some interesting maths or computer science, buried in the secret of how the trick works. To be a good magician you need to. Two Spys This magic trick, devised by Robert Neale, is a variation of a Martin Gardner routine and appears as The Two Guns in the book Self-Working Number. Recent experiments at Queen Mary University of London show that it's not only possible to teach a computer program how magic tricks work.
Computer magic tricks - Beginn