reset password
Author Message
emugi
Posts: 19
Posted 18:44 Oct 06, 2015 |

What does dealing a card method suppose to do?? Drawing the top of the card from the deck??? if it is then do I have to split the deck into two separate deck?? like two 26 deck??

msargent
Posts: 519
Posted 19:29 Oct 06, 2015 |

Any deck (whether full or half) should be able to deal a card. You do this by getting a card from the current top of the deck, then advancing a counter so that the new top is one card down in the deck (the Card array).