proj home

Files   Classes   Functions   Hierarchy  

dealer.h

Go to the documentation of this file.
00001 #ifndef DEALER_H
00002 #define DEALER_H
00003 
00004 #include <deck.h>
00005 #include <hand.h>
00006 
00007 typedef unsigned int uint;
00008 typedef unsigned int const uintc;
00009 
00019 class dealer
00020 {
00021 public:
00022 
00024   deck & cards;
00026   hand hnd;
00027 
00029   dealer(deck & _cards)
00030     : cards(_cards) {}
00031 
00034   void play();
00035 
00039   int const playAgainst( uintc player, uintc dealer0 ); 
00040 
00043   void playAgainst
00044   (
00045     double & prPlayerLoss,
00046     double & prDraw,
00047     double & prPlayerWin,
00048     long unsigned int n,
00049     uintc player, 
00050     uintc dealer0 
00051   );
00052 
00053 };
00054 
00055 
00056 #endif
00057 

Generated on Fri Mar 4 00:49:30 2011 for Chelton Evans Source by  doxygen 1.5.8