Monday, 7 April 2014

clear

Found out why the restart method wasn't resetting properly. The computerHand and playerHand linked lists weren't removing all the cards that were already inside. I had to do computerHand.clear(); and playerHand.clear();

No comments:

Post a Comment