Crate n18game

Crate n18game 

Source

Modules§

_1830
1830: Railways and Robber Barons
_1861
1861: The Railways Of The Russian Empire
_1867
1867: The Railways Of Canada

Structs§

Company
The details that characterise a company that can operate trains.
DividendOptions
The dividend options for a company.
Dividends
The per-share dividends for a specific dividend kind.
GameState
Describes the current game state.

Enums§

DividendKind
The kinds of dividend payments that can be made.
Rounding
The ways in which fractional dividends can be rounded to integer values.

Traits§

Game
The methods that are required for a specific 18xx game implementation.

Functions§

default_best_routes
The default implementation for finding routes that earn the most revenue.
games
Returns a vector containing each game defined in this crate.
new_1830
Creates a new game of 1830: Railways and Robber Barons.
new_1861
Creates a new game of 1861: The Railways Of The Russian Empire.
new_1867
Creates a new game of 1867: The Railways Of Canada.