Documentation ¶
Index ¶
- func GenerateBoardByGameCode(rules game.GameRules) game.Board
- func GenerateMap(count int, loop bool, verbose bool, rules game.GameRules)
- func LogRequestEvent(requestInfo model.RequestInfo, generations int, elapsed time.Duration, ...)
- func MapGenerationAttempt(gameType game.GameType, verbose bool) game.Board
- func ProcessMapGenerationRequest(rules game.GameRules, requestInfo model.RequestInfo) (model.Map, error)
- type Game
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateBoardByGameCode ¶ added in v0.1.0
func LogRequestEvent ¶ added in v0.1.0
func MapGenerationAttempt ¶
MapGenerationAttempt attempts to generate a map for the specified game type It is regarded as an attempt, as the randomization can produce maps that are not valid and thus discarded
func ProcessMapGenerationRequest ¶ added in v0.1.0
Types ¶
Click to show internal directories.
Click to hide internal directories.