-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[1858Switzerland] Robot variant for two-players #11297
base: master
Are you sure you want to change the base?
Commits on Sep 1, 2024
-
[1858Switzerland] Robot variant for two-players
Adds a 1858 Switzerland variant, where there is a robot player and the SBB national railway added to the two-player game. The robot player acquires the most expensive available private railway company on its stock turns. It is always last in priority order. The robot-owned private railway companies must lay track in their home hexes in the operating turns. The players alternate choosing which tiles to lay, with the priority holder choosing for the first company. The SBB starts operating once the first train has been bought. It will upgrade one of the cities where it has a token (tile chosen by the priority holder in the first operating round of a set, and the other player in the second), and will acquire a train in the second operating round of a set. It does not run its trains.
Configuration menu - View commit details
-
Copy full SHA for b6f45cc - Browse repository at this point
Copy the full SHA b6f45ccView commit details
Commits on Sep 5, 2024
-
[1858Switzerlad] Fix starting cash and cert limit for robot variant
In the robot variant the starting cash and the certificate limit are the same as in a normal three-player game of 1858 Switzerland.
Configuration menu - View commit details
-
Copy full SHA for 42f367d - Browse repository at this point
Copy the full SHA 42f367dView commit details -
[1858Switzerland] Make method public
The `home_route_complete?` is called from the track step, so needs to have public visibility.
Configuration menu - View commit details
-
Copy full SHA for 26fac36 - Browse repository at this point
Copy the full SHA 26fac36View commit details -
[1858Switzerland] Fix proxy players for robot-owned entities
The code for handling which players act for entities owned by the robot was not working. This has been rewritten to override `acting_for_player` instead of `acting_for_entity`.
Configuration menu - View commit details
-
Copy full SHA for 3632702 - Browse repository at this point
Copy the full SHA 3632702View commit details -
Configuration menu - View commit details
-
Copy full SHA for cdf2a69 - Browse repository at this point
Copy the full SHA cdf2a69View commit details -
[1858Switzerland] Fix discard train step
Companies with more trains than the train limit were not being forced to discard trains.
Configuration menu - View commit details
-
Copy full SHA for 256b7c6 - Browse repository at this point
Copy the full SHA 256b7c6View commit details
Commits on Sep 6, 2024
-
[1858] Don't call a private method
This guard clause wasn't necessary anyway.
Configuration menu - View commit details
-
Copy full SHA for f83b2eb - Browse repository at this point
Copy the full SHA f83b2ebView commit details
Commits on Sep 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a51371d - Browse repository at this point
Copy the full SHA a51371dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 258f236 - Browse repository at this point
Copy the full SHA 258f236View commit details
Commits on Sep 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 10887d3 - Browse repository at this point
Copy the full SHA 10887d3View commit details
Commits on Oct 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1f2ae5b - Browse repository at this point
Copy the full SHA 1f2ae5bView commit details