mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
296 B
20 lines
296 B
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
|
|
#include "poker.h"
|
|
|
|
void
|
|
main(int argc, char **argv)
|
|
{
|
|
unsigned u;
|
|
|
|
ShuffleDeck();
|
|
|
|
printf("Shuffled deck:\n");
|
|
|
|
for (u = 0; u < DECK_SIZE; u++)
|
|
printf("%2hu%c", DealACard(), (u + 1) % 26 ? ' ' : '\n');
|
|
|
|
exit(0);
|
|
}
|