The term derives from a well-known 19th century thimblerig played with three walnut shells.
printable version
link view
Everything2 Help