tobymao / 18xx

A platform for playing 18xx games online!
https://18xx.games
Other
298 stars 185 forks source link

[18Ardennes] Allow public companies to issue shares #11341

Closed ollybh closed 5 days ago

ollybh commented 1 week ago

Implementation Notes

I'd completely missed the rule that public companies are allowed to issue shares to the open market, apart from on their first operating turn. This pull request adds this step.

Fixes #11221.

This will break almost all 18Ardennes game. These can all be fixed by the default migrate games script, which will add passes for all the issue shares steps.

This pull request also fixes a bug (not reported on Github) where, when exchanging a minor company for a market share, one exchange button was being generated for each of the public company's shares in the open market. Just one button is needed.

Before clicking "Create"