You are on page 1of 1

(int) poker

3 52
(0~51)(1~13)
card/4 (0 1 2 3 )
01 23
54~72 + string 75~89
( 1 A11 J12 Q13 K)
3 K
K empty play pile
output pile Ace
(toN(o.total()!=0) output data +1 (
) K
waste pile 13 play pile bool
movestow(cardstack &s,cardstack &wp) stock
waste pile stock (52-28=24)(main )
226 random number 24
stock
waste pile output pile ()play pile
output pilewaste pile play pileplay pile
0(success==0)
? game over

You might also like