This ingenious little computer card trick was implemented by Scott Coffman, at:
http://cs.bluffton.edu/~scoffman/magic.html