summaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 2dbd91d..ef40406 100644
--- a/main.cpp
+++ b/main.cpp
@@ -77,6 +77,8 @@ int main(int argc, char *argv[])
pokerGame->evaluateHand(pokerGame->getOpponentsCards(i+1), i+1);
pokerGame->showHands();
+ pokerGame->determineWinner();
+
/* ask to repeat the game and reset the deck of cards */
pokerGame->repeatGame(&quit);
pokerGame->resetDeck();