From da1a7180edee0f108d15314e493faa2e9e067095 Mon Sep 17 00:00:00 2001 From: Kyle K Date: Sat, 29 Jan 2011 19:46:29 -0600 Subject: do more error checking --- main.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index a01b1fb..1dee3e1 100644 --- a/main.cpp +++ b/main.cpp @@ -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"); -- cgit v1.2.3