stonkin:Pontoon> java PontoonGame /////EXAMPLE OUTPUT\\\\\ /////////////////Bank wins with more or equal cards value than player////////// The game is about to start. What is your name? Dick Fine Dick, my name is The Bank The Bank: One card for me... The Bank: One card for you... *********** * 10 * * * * Heart * * * * 10 * *********** The Bank: A second card for me... The Bank: And a second card for you... *********** *********** * 9 * * 10 * * * * * * Club * * Heart * * * * * * 9 * * 10 * *********** *********** The Bank: What do you want to do? (stick/twist) stick The Bank : You lose. The value of your cards is 19 and the value of my cards is 19 so I win. These are my cards: *********** *********** *********** * 1 * * K * * 8 * * * * * * * * Heart * * Spade * * Club * * * * * * * * 1 * * K * * 8 * *********** *********** *********** //////////////////////// The player wins because the bank is bust////////////// The game is about to start. What is your name? Miguel Murat (only Miguel is going to be taken in count, but these additional words are cleared from buffer) Fine Miguel, my name is The Bank The Bank: One card for me... The Bank: One card for you... *********** * 3 * * * * Club * * * * 3 * *********** The Bank: A second card for me... The Bank: And a second card for you... *********** *********** * 3 * * 3 * * * * * * Spade * * Club * * * * * * 3 * * 3 * *********** *********** The Bank: What do you want to do? (stick/twist) twist *********** *********** *********** * 5 * * 3 * * 3 * * * * * * * * Diamond * * Spade * * Club * * * * * * * * 5 * * 3 * * 3 * *********** *********** *********** The Bank: What do you want to do now? (stick/twist) twist *********** *********** *********** *********** * J * * 5 * * 3 * * 3 * * * * * * * * * * Club * * Diamond * * Spade * * Club * * * * * * * * * * J * * 5 * * 3 * * 3 * *********** *********** *********** *********** The Bank: What do you want to do now? (stick/twist) stick The Bank :I'm bust. You win. These are my cards: *********** *********** *********** *********** * 7 * * 6 * * 4 * * 6 * * * * * * * * * * Diamond * * Diamond * * Spade * * Spade * * * * * * * * * * 7 * * 6 * * 4 * * 6 * *********** *********** *********** *********** /////////////////////////////// The player is bust///////////////////////////// The game is about to start. What is your name? CrazyPontoonPlayer Fine CrazyPontoonPlayer, my name is The Bank The Bank: One card for me... The Bank: One card for you... *********** * 8 * * * * Heart * * * * 8 * *********** The Bank: A second card for me... The Bank: And a second card for you... *********** *********** * 4 * * 8 * * * * * * Spade * * Heart * * * * * * 4 * * 8 * *********** *********** The Bank: What do you want to do? (stick/twist) twist *********** *********** *********** * 1 * * 4 * * 8 * * * * * * * * Club * * Spade * * Heart * * * * * * * * 1 * * 4 * * 8 * *********** *********** *********** The Bank: What do you want to do now? (stick/twist) twist *********** *********** *********** *********** * Q * * 1 * * 4 * * 8 * * * * * * * * * * Heart * * Club * * Spade * * Heart * * * * * * * * * * Q * * 1 * * 4 * * 8 * *********** *********** *********** *********** The Bank: What do you want to do now? (stick/twist) CrazyPontoonPlayer: I'm bust! The Bank: Then I win, thank you for playing. ///////////////////////// Player wins with Five Card Trick///////////////////// The game is about to start. What is your name? Reyer Fine Reyer, my name is The Bank The Bank: One card for me... The Bank: One card for you... *********** * 10 * * * * Diamond * * * * 10 * *********** The Bank: A second card for me... The Bank: And a second card for you... *********** *********** * 1 * * 10 * * * * * * Club * * Diamond * * * * * * 1 * * 10 * *********** *********** The Bank: What do you want to do? (stick/twist) twist *********** *********** *********** * 1 * * 1 * * 10 * * * * * * * * Heart * * Club * * Diamond * * * * * * * * 1 * * 1 * * 10 * *********** *********** *********** The Bank: What do you want to do now? (stick/twist) twist *********** *********** *********** *********** * 1 * * 1 * * 1 * * 10 * * * * * * * * * * Diamond * * Heart * * Club * * Diamond * * * * * * * * * * 1 * * 1 * * 1 * * 10 * *********** *********** *********** *********** The Bank: What do you want to do now? (stick/twist) twist *********** *********** *********** *********** *********** * 2 * * 1 * * 1 * * 1 * * 10 * * * * * * * * * * * * Diamond * * Diamond * * Heart * * Club * * Diamond * * * * * * * * * * * * 2 * * 1 * * 1 * * 1 * * 10 * *********** *********** *********** *********** *********** Reyer: I've got a Five Card Trick. The Bank: Congratulations! You win. /////////////////The bank wins with Pontoon (using test cheats)/////////////// The game is about to start. What is your name? Frank stick (no problems) Fine Frank, my name is The Bank The Bank: One card for me... The Bank: One card for you... *********** * 1 * * * * Spade * * * * 1 * *********** The Bank: A second card for me... The Bank: And a second card for you... *********** *********** * 2 * * 1 * * * * * * Spade * * Spade * * * * * * 2 * * 1 * *********** *********** The Bank: What do you want to do? (stick/twist) twist stick (no problems) *********** *********** *********** * 3 * * 2 * * 1 * * * * * * * * Spade * * Spade * * Spade * * * * * * * * 3 * * 2 * * 1 * *********** *********** *********** The Bank: What do you want to do now? (stick/twist) s The Bank: I win. I've got Pontoon. These are my cards: *********** *********** * 1 * * Q * * * * * * Spade * * Spade * * * * * * 1 * * Q * *********** *********** ///////////////// Player wins with pontoon(using test)///////////////////////// The game is about to start. What is your name? Winner Fine Winner, my name is The Bank The Bank: One card for me... The Bank: One card for you... *********** * 1 * * * * Spade * * * * 1 * *********** The Bank: A second card for me... The Bank: And a second card for you... *********** *********** * J * * 1 * * * * * * Spade * * Spade * * * * * * J * * 1 * *********** *********** The Bank: What do you want to do? (stick/twist) Winner: I win. I've got Pontoon. The Bank: That's correct, you win! /////////////////////////////The value of the aces works propperly (test)////// The game is about to start. What is your name? DoIneedMorePrintOuts? Fine DoIneedMorePrintOuts?, my name is The Bank The Bank: One card for me... The Bank: One card for you... *********** * 1 * * * * Spade * * * * 1 * *********** The Bank: A second card for me... The Bank: And a second card for you... *********** *********** * 2 * * 1 * * * * * * Spade * * Spade * * * * * * 2 * * 1 * *********** *********** The Bank: What do you want to do? (stick/twist) steak DoIneedMorePrintOuts?: I need more practice with the keyboard I'm afraid. Let me try again. (stick/twist) stick The Bank : You lose. The value of your cards is 13 and the value of my cards is 15 so I win. These are my cards: *********** *********** *********** * 3 * * 1 * * 1 * * * * * * * * Spade * * Spade * * Spade * * * * * * * * 3 * * 1 * * 1 * *********** *********** ***********