Method | Description | |
---|---|---|
GetValidMoves ( |
||
IsLegalMove ( |
||
Knight ( ) : System |
Method | Description | |
---|---|---|
EndPositionIsWithinBounds ( int newRow, int newColumn ) : bool | ||
IsValidKnightMove ( |
||
PossibleEndPositions ( int column, int row ) : HashSet |
public GetValidMoves ( |
||
board | ||
return | IEnumerable |
public IsLegalMove ( |
||
board | ||
move | ||
pastMoves | IEnumerable |
|
return | bool |