/* SPDX-License-Identifier: GPL-3.0-or-later */
/* The deck count belongs to the caller. Link cardgame. */
#include <cardgame.h>

int main(void)
{
    byte deck[3] = { 1, 2, 3 };
    byte count = 3;
    byte drawn = pickCardFromDeck(deck, &count);
    printf("DREW %u, %u LEFT\n", (unsigned) drawn, (unsigned) count);
    return 0;
}
