Add player and board size meta data to all game maps (#84)
* WIP: initial data model for new meta props * WIP: implemented new props * test and bug fix: - add coverage of players and sizes - fix unlimited map size bug * FIX: update supported players for arcade to 6 * fix: test should be min -> max, not max->max * Change some naming and the FixedSizes function * update comment to reflect API changes * improve comment clarity * rename field for improved clarity * change some more "map" -> "board" wording
This commit is contained in:
parent
cb014e7b37
commit
3180429688
8 changed files with 146 additions and 5 deletions
|
|
@ -22,6 +22,9 @@ func (m RoyaleHazardsMap) Meta() Metadata {
|
|||
Description: "A map where hazards are generated every N turns",
|
||||
Author: "Battlesnake",
|
||||
Version: 1,
|
||||
MinPlayers: 1,
|
||||
MaxPlayers: 8,
|
||||
BoardSizes: AnySize(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue