a swindling trick in which a small object, e.g. a pea, is placed under one of three small cups that are quickly moved around, the object being secretly shifted from one cup to another to fool the spectator trying to guess its location
thimblerigger noun
[thimble + rig3 to swindle]