diff options
author | Kyle K <kylek389@gmail.com> | 2011-01-29 19:46:29 -0600 |
---|---|---|
committer | Kamil Kaminski <kamilkss@gmail.com> | 2011-01-29 19:46:29 -0600 |
commit | da1a7180edee0f108d15314e493faa2e9e067095 (patch) | |
tree | d70fc2511861cae9588a136254d8095dedf83332 /main.cpp | |
parent | 63a098d36fcf53b2cad48d042f6efd3174d93717 (diff) | |
download | poker-da1a7180edee0f108d15314e493faa2e9e067095.tar.gz poker-da1a7180edee0f108d15314e493faa2e9e067095.tar.bz2 poker-da1a7180edee0f108d15314e493faa2e9e067095.zip |
do more error checking
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -62,7 +62,11 @@ int main(int argc, char *argv[]) cout << "Opponents' cards:" << endl; pokerGame->printOpponentCards(pokerGame->numOfOpponents); - //pokerGame->opponentAI +#ifdef DEBUG + cout << "Computer's AI" << endl; + pokerGame->opponentAI(pokerGame->getOpponentsCards(1)); + pokerGame->printOpponentCards(pokerGame->numOfOpponents); +#endif #ifdef DEBUG PRINT_COLOR(ANSI_COLOR_CYAN, "\ndebug: deck after being delt to opponents and user\n"); |