tobymao / 18xx

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

[1858Switzerland] Robot variant for two-players #11297

Closed ollybh closed 1 week ago

ollybh commented 1 month ago

Implementation Notes

Explanation of Change

This adds code for the robot variant for 1858 Switzerland. This variant is for two players only, it adds a robot third player.

Rules for this variant are here: https://github.com/tobymao/18xx/wiki/1858-Switzerland#robot-two-players-only.

Some of the robot's actions can be automatically done: buying the most expensive private railway in stock rounds, and the SBB purchasing a train at the end of a pair of operating rounds. These are both implemented with auto-actions.

The track-laying actions require a player to choose which tile to place.

Before clicking "Create"