Module binoxxo::bruteforce::rules [] [src]

This module can check entiere boards or single moves, whether the fullfill the binoxxo rules.

Functions

is_board_valid

Returns whether all fields on the board board fullfill the binoxxo rules.

is_move_valid

Returns whether the content of the field at column x and row y on board board fullfills the binoxxo rules. The rest of the board is not checked, and, hence, even if this function returns true, the entiere board board may be invalid.