Javascript Card Trick – Computerphile

How does the “mystical” mind-reading computer program work? Spoiler, it can’t read minds. Dr Tim Muller shows us a trick you can play on people.

Tim’s Code:

This video was filmed and edited by Sean Riley.

Computer Science at the University of Nottingham:

Computerphile is a sister project to Brady Haran’s Numberphile. More at

Leave a comment

Your email address will not be published. Required fields are marked *