Krazick / 18XX-Game-Engine

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

Forming the CGR, during the Share Exchange, the Local Client get correct shares, remote client gets error #251

Closed Krazick closed 3 months ago

Krazick commented 4 months ago

When Forming the CGR, during the Share Exchange, Player A collects the President Share of CGR, then Player B collects more shares, the swap of certificates are done out of order:

Action: Player A gets 2 Certificates of CGR from Bank Action: Player A exchanges 2 Certificates of CGR for 1 President Certificate of CGR from Bank

Next is Player B's Actions on Client B

Action: Player B exchanges 2 Certificates (to Player A) for 1 President (from Player A) FAILS to send 2 Certificates that have NOT been given to Player B yet

Action: Player B gets 3 (or more) Certificates of CGR from Bank

Krazick commented 3 months ago

Corrected the order of the Actions for remote clients.