reset password
Author Message
phil10tran
Posts: 2
Posted 19:34 Sep 09, 2016 |

Is the Programmer free to decide how much money the player has in order to play the game for this assignment?

The assignment did not say anything about how much money the player starts out with or if the program prompts the player for their wallet.

Last edited by phil10tran at 19:34 Sep 09, 2016.
JackStrauss
Posts: 236
Posted 19:38 Sep 09, 2016 |
phil10tran wrote:

Is the Programmer free to decide how much money the player has in order to play the game for this assignment?

The assignment did not say anything about how much money the player starts out with or if the program prompts the player for their wallet.

The bank is $200.00. We know this much.

 

 

The player is supposed to bet money. We know this much.

 

 

It looks like the player can do whatever with their money.

Last edited by JackStrauss at 19:38 Sep 09, 2016.
phil10tran
Posts: 2
Posted 19:41 Sep 09, 2016 |
interweblulz wrote:
phil10tran wrote:

Is the Programmer free to decide how much money the player has in order to play the game for this assignment?

The assignment did not say anything about how much money the player starts out with or if the program prompts the player for their wallet.

The bank is $200.00. We know this much.

 

 

The player is supposed to bet money. We know this much.

 

 

It looks like the player can do whatever with their money.

True, but in the homework, the ending condition is if the program "Play continues until either the player or the pot runs out of money."

JackStrauss
Posts: 236
Posted 19:44 Sep 09, 2016 |
phil10tran wrote:
interweblulz wrote:
phil10tran wrote:

Is the Programmer free to decide how much money the player has in order to play the game for this assignment?

The assignment did not say anything about how much money the player starts out with or if the program prompts the player for their wallet.

The bank is $200.00. We know this much.

 

 

The player is supposed to bet money. We know this much.

 

 

It looks like the player can do whatever with their money.

True, but in the homework, the ending condition is if the program "Play continues until either the player or the pot runs out of money."

 

Then make the player run out of money. 

 

 

 

msargent
Posts: 519
Posted 20:16 Sep 09, 2016 |

Just start the player with $50. 

fmontes3
Posts: 11
Posted 20:20 Sep 09, 2016 |

Is that a strict rule? I already gave the bank 50000 and the player 5000. Higher stakes. 

msargent
Posts: 519
Posted 20:58 Sep 09, 2016 |
fmontes3 wrote:

Is that a strict rule? I already gave the bank 50000 and the player 5000. Higher stakes. 

No, it's not important.