Part 1: Change the bankruptcy check Part 2: Charge interest on negative balance Part 3: Make the check monthly i do agree that this is a somewhat simple implementation of bankrupcy and i propose the following optional changes
all examples will use a 100.000 GBP limit and a 80.000 GBP loan active unless stated differently
suggested bankrupcy terms:
1) you can only go bankrupt if your deficit exeeds the loan-limit
quite simply put you will bankrupt if you in absolute sense have no money and cannot loan more
in the example:
your marked for bankrupcy that term IF:
Code: Select all
CurrentMoney + (abs(MaxLoan)-abs(CurrentLoan)) < 0
Code: Select all
// lets assume you have -10.000 GBP then
-10.000 + (100.000-80.000) > 0
-10.000 + (20.000) = 10.000 > 0 --> not-bankrupt
// lets assume you have -25.000 GBP then
-25.000 + (100.000-80.000) > 0
-25.000 + (20.000) = -5.000 < 0 --> flag-bankrupt
by comparing your deficit relatively to your loan we can form a multiplier to make you go bankrupt faster on high loan then on low loan
it also gives an extra variable that users can set and manipulate to make the game easier/harder (maybe make it economy based?)
bankrupt if:
Code: Select all
(CurrentMoney * (Loan/MaxLoan))+Treshhold Value < 0
Code: Select all
// lets assume same -10.000 GBP and a treshhold of 5.000
-10.000*(80/100)+5.000 < 0 -> flag_bankrupt
// lets assume -10.000 GBP and a treshhold of 5.000, but this time we only have a -10.000 Loan
-10.000*(10/100)+5.000 > 0 -> not_bankrupt
a more interesting option, not sure if its usefull, but you could compare your interest on loan to your actual income. as long as you can pay your interest from your income you should be fine, not sure how much interest roughly is and how much income might have to be scaled to make it a " fair" rule