blob: c98a80a9537bf8cb4ff0c3548a9f5f30cffe6259 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# j1chess
Chess engine powered by footguns!
## Knowledge sources
https://www.chessprogramming.org/
## Testing
As [the evidence suggests](https://git.eug-vs.xyz/chess/c-chess), chess programming without proper testing can become **really** messy, **really** fast. That's why `j1chess` uses its own tiny testing framework to leverage Test Driven Development.
## Board representation
Piece-centric [bitboard approach](https://www.chessprogramming.org/Bitboards) is used to represent the board.
**LSF** (Least Significant File) square mapping is used, meaning that the square index is calculated as follows:
```
square = 8 * rank + file;
```
|