aboutsummaryrefslogtreecommitdiff
path: root/src/board.rs
Commit message (Expand)AuthorAgeLines
* 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