Just bashing more code
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user