pathsΒΆ

These tests check Paths counts to ensure things will work and be compatible once the board has been added into the game.

Functions

calculate_max_paths

Calculates the Max Paths value for all squares.

check_max_paths

Checks the Max Paths values for all squares on a board, and warns if the values are too high.

get_destinations

Looks at a Square's waypoints and returns a list of possible destinations for a given Entry ID.

get_paths_count

This function calculates the number of paths on a square.

get_paths_count_without_prev_square

As the title suggests, this function calculates the number of paths on a square, when a previous Square ID is not provided.