Krazick / 18XX-Game-Engine

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

Perform Share Exchange to form the CGR #198

Closed Krazick closed 11 months ago

Krazick commented 1 year ago

Share Exchange - Again in Player Order, from the same President who bought the first 6 Train, collects all the certificates from all of the companies that have the WillFold status set they are the President of and exchanges them two for 1 (2 Shares --> 1 Share) of the CGR. If more than 20 Shares are being exchanged a 2nd issue of 10 more CGR Shares occurs. Each CGR Share is then worth 5%

Krazick commented 1 year ago

If a Player has an odd number of Shares the left over share that would fold is passed to the Open Market. If during the Exchange, the entire 2nd Issue is distributed in the exchange, any additional shares that would have been exchanged are discarded with no other compensation to the Player.

Krazick commented 1 year ago

After all Players have been exchanged, the shares in the Open Market that can be exchanged will be.

Krazick commented 1 year ago

Share Exchange Functionality For each player in turn is working Properly And Undo as well. Need to add Test for Open Market. Need to validate if over 20 Shares of CGR will be exchanged. Need to exchange President Share for the first two Share.

Krazick commented 1 year ago

Test this functionality on Network Game. Then test all Undo Functionality

Krazick commented 1 year ago

Share Exchange for all Player Owned, Open Market are performed. All Shares that will fold, but are still in IPO Are all Moved to Closed Portfolio. All Shares of CGR that are not distributed (2nd issue if < 21 shares exchanged, or first issue if > 20 shares exchanged are moved from IPO to Closed. All Undo functions work properly.

Need to test moving into the Token Exchange Phase. Disabled the Continue Button if not the Phase Triggering Player

Krazick commented 11 months ago

Share Exchanged tested in Hot Seat, and Network. "Continue" button now associated with each player, and only shown when needed.

Testing for Saved Game State/Load Saved Game working properly