fork download
  1. #include<iostream>
  2. #include<string>
  3. #include<iomanip>
  4. #include<cstdlib>
  5. #include<time.h>
  6.  
  7. using namespace std;
  8.  
  9. // GLOBAL CONSTANTS
  10. const int SIZE = 10; // This constant sets the size of our "deck"
  11. // Increasing it will cause your program to take much longer to reach a conclusion.
  12.  
  13. // FUNCTION PROTOTYPES
  14. void getNums(int arr[], int range, int size);
  15. void showCard(int hand_one[], int hand_two[], int one, int two);
  16. void splitArray(int dest_one[], int dest_two[], int source[], int size);
  17. void shift(int arr[], int size);
  18.  
  19.  
  20. // FUNCTION DEFINITIONS
  21.  
  22. int main()
  23. {
  24. int deck[SIZE]; // The deck of cards
  25. int hand_one[SIZE] = {0}; // A hand of cards, with all elements initialized to zero
  26. int hand_two[SIZE] = {0}; // A hand of cards, with all elements initialized to zero
  27. int tmp1; // Temporary variable to hold a card
  28. int tmp2; // Temporary variable to hold a card
  29. int size1 = SIZE / 2; // Number of cards in hand 1
  30. int size2 = SIZE / 2; // Number of cards in hand 2
  31. string tmpStr; // Used for asking the user to press enter to continue
  32.  
  33. // Seed the random number generator
  34. srand(static_cast<int>(time(NULL)));
  35.  
  36.  
  37. // Get a deck of numbers (to represent cards)
  38. // Because we are simulating a deck of cards, we will get random numbers
  39. // in the range of 1 to 13.
  40. getNums(deck, 13, SIZE);
  41.  
  42. // Deal the deck between the two players
  43. splitArray(hand_one, hand_two, deck, SIZE);
  44.  
  45. //loop until one player has no more cards.
  46. while( size1 != 0 && size2 != 0 )
  47. {
  48. // Show the card at the front of each players hand
  49. showCard(hand_one, hand_two, size1, size2);
  50.  
  51. // Store the front cards into temporary variables
  52. tmp1 = hand_one[0];
  53. tmp2 = hand_two[0];
  54.  
  55. // Shift the cards forward in each hand
  56. shift(hand_one, size1);
  57. shift(hand_two, size2);
  58.  
  59. // If the first player has the higher card
  60. if ( tmp1 > tmp2 )
  61. {
  62. cout << "You have the higher card!" << endl;
  63.  
  64. // We are going to add one card to Player 1's hand and
  65. // remove a card from Player 2's hand. So increase the size
  66. // of the Player 1 array and decrease the size of the
  67. // Player 2 array by one.
  68. size1++;
  69. size2--;
  70.  
  71. //add both cards to the end of Player 1's hand
  72. hand_one[size1 - 2] = tmp1;
  73. hand_one[size1 - 1] = tmp2;
  74.  
  75. }
  76.  
  77. // If the computer has the higher card
  78. else if ( tmp2 > tmp1 )
  79. {
  80. cout << "The computer has the higher card!" << endl;
  81.  
  82. // We are going to add one card to Player 2's hand and
  83. // remove a card from Player 1's hand. So increase the size
  84. // of the Player 2 array and decrease the size of the
  85. // Player 1 array by one.
  86. size1--;
  87. size2++;
  88.  
  89. // Add both cards to the end of Player 2's hand
  90. hand_two[size2 - 2] = tmp2;
  91. hand_two[size2 - 1] = tmp1;
  92.  
  93. }
  94.  
  95. // If both players have the same value card
  96. else
  97. {
  98. cout << "Tie!" << endl;
  99. // Don't change the size of the players' hands
  100.  
  101. // Put each player's card at the end of their hand
  102. hand_one[size1 - 1] = tmp1;
  103. hand_two[size2 - 1] = tmp2;
  104.  
  105. }
  106.  
  107. // Pause the game at the end of each turn
  108. cout << "Press return to continue. ";
  109. getline(cin, tmpStr);
  110.  
  111. cout << endl;
  112. }
  113.  
  114. // Output the winner of the game
  115. if(size1 == 0)
  116. {
  117. cout << "The computer wins the game!" << endl;
  118. }
  119. else if(size2 == 0)
  120. {
  121. cout << "You win the game!" << endl;
  122. }
  123.  
  124. return 0;
  125. }
  126.  
  127.  
  128.  
  129.  
  130.  
  131. //
  132. // Generate random numbers in the range between one and the given range
  133. // to fill an array
  134. //
  135. // DO NOT MODIFY THIS FUNCTION
  136. //
  137. void getNums(int arr[], int range, int size)
  138. {
  139. int i; // A counter
  140.  
  141. for( i = 0; i < size; i++ )
  142. {
  143. // Add a random number within the specified range to the array
  144. arr[i] = rand() % range + 1;
  145. }
  146. }
  147.  
  148.  
  149.  
  150.  
  151.  
  152. //
  153. // Display the cards each player pulled and the number of cards they have left
  154. //
  155. // DO NOT MODIFY THIS FUNCTION
  156. //
  157. void showCard(int hand_one[], int hand_two[], int one, int two)
  158. {
  159. cout << "*****Number of cards in each player's deck*****\n";
  160. cout << setw(15) << "You: " << one;
  161. cout << setw(20) << "Computer: " << two << endl;
  162. cout << "You have the card: " << hand_one[0] << endl;
  163. cout << "The computer has the card: " << hand_two[0] << endl;
  164. }
  165.  
  166.  
  167. /////////////////////////////////////////////////////////////////////////////////
  168. /////////////////////////////////////////////////////////////////////////////////
  169. //// ////
  170. //// YOUR CODE GOES BELOW THIS POINT ////
  171. //// ////
  172. /////////////////////////////////////////////////////////////////////////////////
  173. /////////////////////////////////////////////////////////////////////////////////
  174.  
  175.  
  176. //
  177. // Split the elements of a source array into two destination arrays
  178. // The given size is the size of the destination arrays (they are the same size)
  179. //
  180. // WRITE CODE TO COMPLETE THIS FUNCTION
  181. //
  182. void splitArray(int dest_one[], int dest_two[], int source[], int size)
  183. {
  184. int ctr = 0; // Counter that will go through the source[] array.
  185. int i; // A counter for our loop control variable
  186.  
  187. // Loop through the destination arrays.
  188. // Assign each element in a destination array the next element
  189. // in the source array. Use the ctr variable to keep track of the
  190. // current position in the source array.
  191.  
  192. for (i = 0; i == size; i++)
  193. {
  194.  
  195. dest_one[i] = source[ctr];
  196. dest_two[i] = source[ctr + 1];
  197. ctr ++;
  198. }
  199.  
  200.  
  201. }
  202.  
  203.  
  204.  
  205.  
  206.  
  207. //
  208. // Shifts the items in an array one place to the left
  209. // Throws out the first element in the array and sets the last element
  210. // in the array to zero.
  211. //
  212. // WRITE CODE TO COMPLETE THIS FUNCTION
  213. //
  214. void shift(int arr[], int size)
  215. {
  216. int i; // A counter
  217.  
  218.  
  219.  
  220. // shift the array
  221. for(i = 0; i == size; i++)
  222. {
  223. arr[i] = arr[i+1];
  224.  
  225. }
  226.  
  227. // Set the last element in the array to zero
  228. arr[size] = 0;
  229.  
  230.  
  231. }
  232.  
  233.  
Runtime error #stdin #stdout 0s 15240KB
stdin
Standard input is empty
stdout
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of cards in each player's deck*****
          You: 5          Computer: 5
You have the card: 0
The computer has the card: 0
Tie!
Press return to continue. 
*****Number of c