check_doors_and_dice¶
Summary¶
- check_doors_and_dice(frbs: list[BoardFile]) str¶
Checks to ensure that boards that have Max Dice Roll set to 9 do not have doors. This is a condition that is known to cause the game to crash.
- Parameters:
frbs (list[BoardFile]) – A list of BoardFile objects representing one or more .frb files.
- Returns:
A string containing the error message if the check fails, or an empty string if it passes.
- Return type:
str
Importing¶
from cs_board_tools.validation.board import check_doors_and_dice