1 player Black jack for mbed

Dependencies:   4DGL-uLCD-SE PinDetect mbed

Committer:
jayvpoddar
Date:
Thu Mar 12 19:48:26 2015 +0000
Revision:
0:d2e6b3ce6988
First push

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jayvpoddar 0:d2e6b3ce6988 1 #include "mbed.h"
jayvpoddar 0:d2e6b3ce6988 2 #include <string>
jayvpoddar 0:d2e6b3ce6988 3 class Card
jayvpoddar 0:d2e6b3ce6988 4 {
jayvpoddar 0:d2e6b3ce6988 5
jayvpoddar 0:d2e6b3ce6988 6
jayvpoddar 0:d2e6b3ce6988 7
jayvpoddar 0:d2e6b3ce6988 8 public:
jayvpoddar 0:d2e6b3ce6988 9 int _rank;
jayvpoddar 0:d2e6b3ce6988 10 int _suit;
jayvpoddar 0:d2e6b3ce6988 11 Card();
jayvpoddar 0:d2e6b3ce6988 12 Card(int rank, int suit);
jayvpoddar 0:d2e6b3ce6988 13 string convertRank();
jayvpoddar 0:d2e6b3ce6988 14 string convertSuit();
jayvpoddar 0:d2e6b3ce6988 15 static void swapCards(Card cards[],int i,int j);
jayvpoddar 0:d2e6b3ce6988 16 };