boardΒΆ

Validation checks related to board configuration, in the .yaml and/or the .frb file, live here.

Functions

check_board_configuration

An entry-point for checks related to the current board configuration as defined in the .frb board file and/or .yaml descriptor file.

check_doors_and_dice

Checks to ensure that boards that have Max Dice Roll set to 9 do not have doors.

check_square_coordinates

Checks to see if the board contains any squares with X or Y coordinates outside the recommended playing field.

check_switch_ids_are_not_too_high

Checks that the District IDs of all Switch squares in all frb files are not set to a value that exceeds the total number of frb files in the bundle.

check_switch_ids_are_not_zero

Checks that the District IDs of all Switch squares in all frb files are not 0, unless there are only two frb files.

check_two_way_doors

Checks that there are no Two-Way Doors if Max Dice Roll is set to 8 or 9.

check_yaml_authors

Checks to ensure that a board's .yaml descriptor file has defined at least one Author.

check_yaml_changelog

Checks to ensure that a board's .yaml descriptor file defines a changelog.

check_yaml_max_dice_roll

Checks to ensure that the board's Max Dice Roll is set to 9 or lower.