Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
illegalEnPassant
Method · 0.95
pinnedToKing
Method · 0.95
attackingKing
Method · 0.95
updateForClearCell
Method · 0.95
longRangeUpdate
Method · 0.95
updateForBlockedCell
Method · 0.95
removeUnusedEnpassant
Method · 0.95
discoveredCheck
Method · 0.95
getMoveList
Method · 0.95
getIllegalSquares
Method · 0.95
xRay
Method · 0.95
getMoves
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected