Skip to content

Commit

Permalink
chess: fix incorrect constants in knightMoves
Browse files Browse the repository at this point in the history
  • Loading branch information
e0ff committed Dec 2, 2023
1 parent f1c3394 commit fcd8c10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/chess/moveboards.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var knightMoves = [64]BitBoard{
2216203387392, 5531918402816, 11068131838464, 22136263676928, 44272527353856, 88545054707712, 175990581010432, 70506185244672,
567348067172352, 1416171111120896, 2833441750646784, 5666883501293568, 11333767002587136, 22667534005174272, 45053588738670592, 18049583422636032,
145241105196122112, 362539804446949376, 725361088165576704, 1450722176331153408, 2901444352662306816, 5802888705324613632, 11533718717099671552, 4620693356194824192,
288234782788157440, 576469569871282176, 1224997833292120064, 2449995666584240128, 4899991333168480256, 9799982666336960512, 9799982666336960512, 9799982666336960512,
288234782788157440, 576469569871282176, 1224997833292120064, 2449995666584240128, 4899991333168480256, 9799982666336960512, 1170954182497140736, 2341907265482653696,
1128098930098176, 2257297371824128, 4796069720358912, 4796069720358912, 19184278881435648, 38368557762871296, 4679521487814656, 9077567998918656,
}

Expand Down

0 comments on commit fcd8c10

Please sign in to comment.