Method NumPotentialMoves
NumPotentialMoves(BoardSize)
Return the number of potential moves for a board of the given size. This is equivalent to the number of internal edges in the board.
Declaration
public static int NumPotentialMoves(BoardSize maxBoardSize)
Parameters
| Type | Name | Description |
|---|---|---|
| BoardSize | maxBoardSize |
Returns
| Type | Description |
|---|---|
| int |