12345678910111213141516171819202122232425262728293031 |
- /*
- * Function headers for the command-line poker game.
- *
- * This file is Free Software released under the terms and conditions of the
- * GNU GPL v3
- *
- */
- #ifndef CARDS_H
- #define CARDS_H
- // the suit value is as follows:
- // 1-diamonds
- // 2-clubs
- // 3-hearts
- // 4-spades
- // i.e. some sort of resemblance to an actual playing deck
- struct
- playingcard {
- int value;
- int suit;
- };
- int
- describe_card(struct playingcard c);
- struct playingcard
- draw_card();
- #endif
|