mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 07:10:42 -08:00
Formatted "Totals" output
Slowly going through and making output true to the original BASIC code
This commit is contained in:
@@ -63,10 +63,9 @@ public class Roulette {
|
|||||||
|
|
||||||
betResults(bets,result);
|
betResults(bets,result);
|
||||||
out.println();
|
out.println();
|
||||||
|
|
||||||
out.println("TOTALS:");
|
out.println("TOTALS:\tME\tYOU");
|
||||||
out.println("\tME: " + houseBalance);
|
out.println("\t\t" + houseBalance + "\t" + playerBalance);
|
||||||
out.println("\tYOU " + playerBalance);
|
|
||||||
|
|
||||||
} while(playAgain());
|
} while(playAgain());
|
||||||
if(playerBalance <= 0) {
|
if(playerBalance <= 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user