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

Method get

src/main/java/game/Cell.java:13–15  ·  view source on GitHub ↗
(final int row, final int col)

Source from the content-addressed store, hash-verified

11 }
12
13 public static Cell get(final int row, final int col) {
14 return cells[(row << 3) + col];
15 }
16
17 private static Cell[] setBoard() {
18 final Cell[] cells = new Cell[64];

Callers 15

canCaptureEnPassantMethod · 0.95
captureOnEdgeMethod · 0.95
doubleCheckMethod · 0.95
pawnPromotionMethod · 0.95
pawnPromoteToKnightMethod · 0.95
kingAndQueenOutMethod · 0.95
kingAndKnightOutMethod · 0.95
kingAndPawnOutMethod · 0.95
fenRepresentationMethod · 0.95
otherBoardMethod · 0.95
countMovesAfterMoveMethod · 0.95
mateInOneMethod · 0.95

Calls

no outgoing calls

Tested by 15

canCaptureEnPassantMethod · 0.76
captureOnEdgeMethod · 0.76
doubleCheckMethod · 0.76
pawnPromotionMethod · 0.76
pawnPromoteToKnightMethod · 0.76
kingAndQueenOutMethod · 0.76
kingAndKnightOutMethod · 0.76
kingAndPawnOutMethod · 0.76
fenRepresentationMethod · 0.76
otherBoardMethod · 0.76
countMovesAfterMoveMethod · 0.76
mateInOneMethod · 0.76