Added Royal Flush checker.

This commit is contained in:
YourWishes committed 2021-06-21 09:52:57 -07:00
1 parent 7344a22c3a
commit 7e39195433
7 files changed
+131 -17

No files matched your search

-10
View File
@@ -13,16 +13,6 @@ bool gameInit(game_t *game) {
// Init the engine and the rendering pipeline
engineInit(&game->engine, game);
// Shufflemuh
card_t hand[CARD_DECK_SIZE];
for(uint8_t i = 0; i < CARD_DECK_SIZE; i++) {
hand[i] = i;
}
arrayShuffle(sizeof(card_t), hand, CARD_DECK_SIZE);
cardHandSort(hand, CARD_DECK_SIZE);
printf("Bruh moment\n");
// Hand off to the poker logic.
pokerInit(&game->poker, &game->engine);