1 player Black jack for mbed
Dependencies: 4DGL-uLCD-SE PinDetect mbed
Diff: card.h
- Revision:
- 0:d2e6b3ce6988
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/card.h Thu Mar 12 19:48:26 2015 +0000 @@ -0,0 +1,16 @@ +#include "mbed.h" +#include <string> +class Card +{ + + + +public: + int _rank; + int _suit; + Card(); + Card(int rank, int suit); + string convertRank(); + string convertSuit(); + static void swapCards(Card cards[],int i,int j); +}; \ No newline at end of file