Just bashing more code

This commit is contained in:
2022-01-22 19:39:34 -08:00
parent ef6ab568e8
commit cda233365a
3 changed files with 22 additions and 16 deletions

View File

@@ -72,12 +72,12 @@ void pokerNewRound() {
POKER_DECK_SIZE = CARD_DECK_SIZE;
// Shuffle Deck
// for(i = CARD_DECK_SIZE-1; i > 0; i--) {
// k = POKER_DECK[i];
// j = rand() % (i+1);
// POKER_DECK[i] = POKER_DECK[j];
// POKER_DECK[j] = k;
// }
for(i = CARD_DECK_SIZE-1; i > 0; i--) {
k = POKER_DECK[i];
j = rand() % (i+1);
POKER_DECK[i] = POKER_DECK[j];
POKER_DECK[j] = k;
}
// Reset Players and decide new blinds.
found = 0;