Beispiel #1
0
  public void run() {

    int money = round.askMoneyToBet();
    // player.setCurrentMoney(money);

    round.playRound();

    System.out.println("You are broke after " + round.getCounter() + " rolls.");
    System.out.println(
        "You should have quit after "
            + round.getCounterAtMaxMoney()
            + " rolls when you had $"
            + player.getMaxMoney());
  }