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:
@@ -64,9 +64,8 @@ public class Roulette {
|
||||
betResults(bets,result);
|
||||
out.println();
|
||||
|
||||
out.println("TOTALS:");
|
||||
out.println("\tME: " + houseBalance);
|
||||
out.println("\tYOU " + playerBalance);
|
||||
out.println("TOTALS:\tME\tYOU");
|
||||
out.println("\t\t" + houseBalance + "\t" + playerBalance);
|
||||
|
||||
} while(playAgain());
|
||||
if(playerBalance <= 0) {
|
||||
|
||||
Reference in New Issue
Block a user