フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Question on dice simulation?

1 回表示 (過去 30 日間)
Tyler Silva
Tyler Silva 2015 年 10 月 23 日
閉鎖済み: Walter Roberson 2015 年 10 月 24 日
I have attached my script. I need to Add in code to keep track of the user’s total amount of money (balance). Display the current balance to the user during each round of play. And At the end of each round, the user should be asked if he/she wants to play again. Game play should only continue as long as the user wants to play again and the user still has money left. When the user runs out of money or the user indicates he/she no longer wants to play, the game should stop and the user’s final balance (which could be $0) should be displayed. Im confused on how to keep track of the total balance throughout the game.
  2 件のコメント
the cyclist
the cyclist 2015 年 10 月 23 日
I don't see the script attached
Walter Roberson
Walter Roberson 2015 年 10 月 24 日

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by