MCPcopy Index your code
hub / github.com/coding-parrot/chess-engine / withinBoardLimits

Method withinBoardLimits

src/main/java/commons/Utils.java:46–48  ·  view source on GitHub ↗
(final int row, final int col)

Source from the content-addressed store, hash-verified

44 }
45
46 public static boolean withinBoardLimits(final int row, final int col) {
47 return row < 8 && row >= 0 && col < 8 && col >= 0;
48 }
49}

Callers 12

illegalEnPassantMethod · 0.95
pinnedToKingMethod · 0.95
attackingKingMethod · 0.95
updateForClearCellMethod · 0.95
longRangeUpdateMethod · 0.95
updateForBlockedCellMethod · 0.95
removeUnusedEnpassantMethod · 0.95
discoveredCheckMethod · 0.95
getMoveListMethod · 0.95
getIllegalSquaresMethod · 0.95
xRayMethod · 0.95
getMovesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected