Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
canCaptureEnPassant
Method · 0.95
captureOnEdge
Method · 0.95
doubleCheck
Method · 0.95
pawnPromotion
Method · 0.95
pawnPromoteToKnight
Method · 0.95
kingAndQueenOut
Method · 0.95
kingAndKnightOut
Method · 0.95
kingAndPawnOut
Method · 0.95
fenRepresentation
Method · 0.95
otherBoard
Method · 0.95
countMovesAfterMove
Method · 0.95
mateInOne
Method · 0.95
Calls
no outgoing calls
Tested by
15
canCaptureEnPassant
Method · 0.76
captureOnEdge
Method · 0.76
doubleCheck
Method · 0.76
pawnPromotion
Method · 0.76
pawnPromoteToKnight
Method · 0.76
kingAndQueenOut
Method · 0.76
kingAndKnightOut
Method · 0.76
kingAndPawnOut
Method · 0.76
fenRepresentation
Method · 0.76
otherBoard
Method · 0.76
countMovesAfterMove
Method · 0.76
mateInOne
Method · 0.76