Green’s Dictionary of Slang

ace-deuce n.1

also acey-deucey
[ace (one) + deuce (two) = three; in craps throwing three means one ‘craps out’ and loses all one’s money]

[1930s+] (US) three, esp. in craps dice; thus the game of craps.