aboutsummaryrefslogtreecommitdiff
path: root/src/board.rs
Commit message (Expand)AuthorAgeLines
* refactor: use better namingseug-vs2023-01-23-12/+12
* feat: implement castling rightseug-vs2023-01-23-6/+44
* feat: implement castlingeug-vs2023-01-23-40/+143
* test: add position perfteug-vs2023-01-23-0/+9
* test: correctly count special moves in perfteug-vs2023-01-23-13/+17
* refactor: add Board::neweug-vs2023-01-23-11/+10
* test: count en passant moves in perfteug-vs2023-01-23-11/+21
* feat: basic En Passant implementationeug-vs2023-01-23-7/+54
* refactor: store kind in a move structeug-vs2023-01-23-19/+53
* test: count checks in perfteug-vs2023-01-23-12/+18
* test: increase perft depth up to 3eug-vs2023-01-23-12/+19
* fix: do not push pawns into other pieceseug-vs2023-01-23-2/+2
* feat: implement is_king_in_checkeug-vs2023-01-23-4/+24
* feat: implement is_square_attackedeug-vs2023-01-23-6/+52
* test: implement perfteug-vs2023-01-23-0/+48
* refactor: separately store pawn double pusheseug-vs2023-01-23-8/+13
* fix: consider blocking pieces when double pushingeug-vs2023-01-23-1/+7
* refactor: update occupancy in an optimal wayeug-vs2023-01-23-11/+24
* feat: implement unmake_moveeug-vs2023-01-23-9/+54
* feat: return captured piece from make_moveeug-vs2023-01-23-13/+27
* refactor: rename apply_move -> make_moveeug-vs2023-01-23-5/+5
* fix: derive necessary traitseug-vs2023-01-23-3/+7
* feat: implement apply_moveeug-vs2023-01-23-0/+54
* fix: add pawn attacks to move generationeug-vs2023-01-23-1/+5
* refactor: use Square as type everywhereeug-vs2023-01-23-35/+21
* refactor: use FromPrimitive to consturct enumseug-vs2023-01-23-59/+45
* feat: implement basic move generationeug-vs2023-01-23-20/+104
* refactor: compute pieces by color separatelyeug-vs2023-01-22-3/+11
* feat: compute occupancy by coloreug-vs2023-01-22-0/+13
* feat: compute board occupancy and empty squareseug-vs2023-01-22-3/+24
* feat: add initial moves moduleeug-vs2023-01-22-0/+1
* refactor: return generated arrayseug-vs2023-01-21-17/+18
* feat: precompute knight and king attackseug-vs2023-01-21-3/+3
* feat: implement FEN parsingeug-vs2023-01-21-0/+140
* refactor: create board moduleeug-vs2023-01-21-0/+24