Green’s Dictionary of Slang

peter n.2

also petar
[? SE petard, upon which the loser is ‘hoist’]

[mid-17C–mid-18C] (UK Und.) a variety of loaded dice, used for cheating.