Skip to content
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

Validate station counts #7

Open
Auzzy opened this issue Jun 27, 2020 · 0 comments
Open

Validate station counts #7

Auzzy opened this issue Jun 27, 2020 · 0 comments
Labels
future Will eventually get back to, but not for a bit

Comments

@Auzzy
Copy link
Owner

Auzzy commented Jun 27, 2020

It would be nice to count up how many stations a railroad has placed and validate it. However, due to private companies, this is not necessarily the number of stations they're issued to begin the game. For example, in 1846, a railroad could in theory place up to 3 additional stations: Michigan Southern, Big 4, and Chicago & Western Illinois. To make this work, I'll need to figure out a flexible and general way to support exceptions to the initial station count.

@Auzzy Auzzy added the future Will eventually get back to, but not for a bit label Jul 2, 2020
Auzzy added a commit that referenced this issue Aug 2, 2020
Since all the games draw from the same pool of tiles, it makes sense to
centralize all the info about the tiles themselves. The DB file contains
all that info, and is a JSON file (despite its name). Each game will
continue to define a tiles.json file, but now it contains a mapping from
the ID of each tile in the game to the quantity of tles in the game. To
indicate a tile which has no limit on quantity (e.g. #7 in 1846), set it
to null.
Auzzy added a commit that referenced this issue Aug 2, 2020
Since all the games draw from the same pool of tiles, it makes sense to
centralize all the info about the tiles themselves. The DB file contains
all that info, and is a JSON file (despite its name). Each game will
continue to define a tiles.json file, but now it contains a mapping from
the ID of each tile in the game to the quantity of tles in the game. To
indicate a tile which has no limit on quantity (e.g. #7 in 1846), set it
to null.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
future Will eventually get back to, but not for a bit
Projects
None yet
Development

No branches or pull requests

1 participant