-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
If player goes broke game prints "goodbye" and closes.
A loop must be made to keep playing even after going broke.
idea's:
- dealer asks if player would like to take a loan and keep gambling.
- if in the same session player is able to repay the debt with 10% intrest no broke count is added.
- else the player did not repay the debt a broke count is added.
the player can retake a loan after going broke on a loan for even more intressts (20%)
the first broke will be counted as broke in the broke counter.
the 2nd broke with open loan will be counted if its not payed back within the same session.
if the 2nd loan is payed back within the same session then there is no broke count for the 2nd loan.
only the last loan can be payed back to restore the broke count for the last time player went broke.
example:
- player goes broke => broke_counter += 1
- player takes loan => player gets 1000 balance as loan
- if the player has a balance == (loan * 1.5) + (intrests) => player auto repays debt
3.1 player goes broke again with the loan => dealer asks if player want a 2nd loan with dubble the intrest of the previous intrest
Metadata
Metadata
Assignees
Labels
No labels