Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Randomizer ¶
type Randomizer struct{}
Randomizer is a randomly moving AI implementation.
func (Randomizer) Orders ¶
func (self Randomizer) Orders(logger common.Logger, req ai.OrderRequest) (result state.Orders)
Orders will return orders randomly moving up to 20% of all troops in each occupied node along randomly chosen edges of that node.
Click to show internal directories.
Click to hide internal directories.