Not sure if you fixed it all yet but this bit:
only fills the deck with 4 cards.Code:for(x=3;x<7;x++) { for(y=2;y<15;y++) { deckptr -> suitValue = x; deckptr -> faceValue = y; } deckptr++; }
Have a think about how often you call deckptr++;
Not sure if you fixed it all yet but this bit:
only fills the deck with 4 cards.Code:for(x=3;x<7;x++) { for(y=2;y<15;y++) { deckptr -> suitValue = x; deckptr -> faceValue = y; } deckptr++; }
Have a think about how often you call deckptr++;