Function binoxxo::bruteforce::build_board::create_full_board
source · Expand description
Returns a valid and full binoxxo board of side length size
.
Panics
Panics if size
is odd or zero.
May also panic if it didn’t find a valid board. It just does a limited number of tries in order to avoid to long search of the brute force algorithm. This however leads to the small chance, that the algorithm does not find a valid board in the limited number of tries. No such panic was yet discovered while testing.