# 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; ```