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

Method isEmpty

src/main/java/game/Board.java:74–76  ·  view source on GitHub ↗
(final int row, final int col)

Source from the content-addressed store, hash-verified

72 }
73
74 public boolean isEmpty(final int row, final int col) {
75 return pieces.get(Cell.get(row, col)) == null;
76 }
77
78 public Piece getPiece(final int row, final int col) {
79 return pieces.get(Cell.get(row, col));

Callers 15

illegalEnPassantMethod · 0.95
stopFindingPinMethod · 0.95
attackingKingMethod · 0.95
updateForClearCellMethod · 0.95
longRangeUpdateMethod · 0.95
updateForBlockedCellMethod · 0.95
removeUnusedEnpassantMethod · 0.95
discoveredCheckMethod · 0.95
toStringMethod · 0.95
fenRepresentationMethod · 0.95

Calls 2

getMethod · 0.95
getMethod · 0.45

Tested by 11

surroundedByPiecesMethod · 0.64
surroundedByTeamMethod · 0.64
checkMateMethod · 0.64
staleMateMethod · 0.64
surroundedByPiecesMethod · 0.64
surroundedByTeamMethod · 0.64