Krazick / 18XX-Game-Engine

18XX Game Engine
MIT License
2 stars 0 forks source link

Implement the Loan Repayment steps for Share Companies with outstanding Loans #196

Closed Krazick closed 1 year ago

Krazick commented 1 year ago

Loan Repayment by The eleven (11) Share Companies starts when the President of a Share Company purchases the first 6 Train. The Share Company that did the purchase Completes the operations of the Company before the Loan Repayment State is entered.

  1. Each Player, in Player Order starting with the President of the Company who bought the 6 then repay the Loans the companies they are the president of before proceeding to the next player.
  2. The Share Companies MUST pay back in $100 increments any outstanding loans from the Company Treasury
  3. The President of the Share Company paying back the loan MAY pay back loans in $100 Increments.
  4. The President MAY NOT sell shares to pay back loans. The money comes only from their personal Treasury.
  5. If the company has outstanding loans, set a flag that this company will be absorbed into the CGR
Krazick commented 1 year ago

Basic Functionality for Loan Repayment will be finished in V0.7.28 Beta

Krazick commented 1 year ago

Items to complete:

  1. The UNDO Button needs to be added below the DONE Button for each Player. The UNDO Button should only be active for the Active Player.
  2. For Network Games, for the Non-Active Players, the DONE Button,, and UNDO Button should be disabled.
  3. For Network Games, for the Non-Active Players, the actual Active Player box should have an ORANGE Border
  4. For Network Games, for the Active Player Box should have an ORANGE Background -- FINISHED
  5. For Network Games, when a Redeem Loan (regardless of Pay from Treasury or Pay from President) there needs a Special Panel Effect be added to a Special Panel Action (which chains the the previous action) and sent to make sure the remote clients have their frame updated.
  6. Add an Open Market Portfolio display between the last Player Box.
Krazick commented 1 year ago

Need to test all UNDO situations.

Krazick commented 1 year ago

All of the above has been completed. One very minor item left (Undo after all Loans are paid, need to re-show the Loan Repayment Frame. Also added a Notification sub-panel, and this will show a CONTINUE button once all loans have been confirmed paid (or not paid). The Continue will proceed to folding the shares into CGR. Note, once this step is started, need to complete all aspects before the game can continue. It can be Skipped (simply have all players close the frame) Game should continue as it has in the past.