Formatted "Totals" output

Slowly going through and making output true to the original BASIC code
This commit is contained in:
Thomas Kwashnak
2022-01-10 15:18:46 -05:00
committed by GitHub
parent 2dc63bb95a
commit f7f10d52f3

View File

@@ -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) {