Commit Graph

17 Commits

Author SHA1 Message Date
Josh 5a25eba8f6 Add move_gen function
Python tests (make) / test (push) Successful in 10s
2025-08-17 12:17:51 -04:00
Josh 362048d630 Fix formatting
Python tests (make) / test (push) Successful in 10s
2025-08-16 15:26:04 -04:00
Josh 3ca2606420 Fix comment
Python tests (make) / test (push) Successful in 10s
2025-08-16 15:25:14 -04:00
Josh 55666004a0 Rename b to board for clarity and consistency
Python tests (make) / test (push) Successful in 10s
2025-08-16 15:24:24 -04:00
Josh c37c85d99e Remove variable naming conflicts 2025-08-16 15:23:18 -04:00
Josh d541684322 Add pawn movement generators
Python tests (make) / test (push) Failing after 11s
Pawns are complicated pieces and have multiple cases to account for.
Additionally, black and white pawns move in opposite ways to each
other. We separated out the two colors to help keep the code
clearer at a higher level, and to hopefully help with debugging
in the future.
2025-08-16 15:07:43 -04:00
Josh 9c9dedc7bf Add non pawn movement generators 2025-08-16 15:07:13 -04:00
Josh e9d64a35db Add king castle helpers 2025-08-16 15:06:18 -04:00
Josh ed533736e6 Add diagonal and orthogonal movements
Python tests (make) / test (push) Successful in 10s
2025-08-16 14:14:58 -04:00
Josh 71f38b3f3e Fix struct 2025-08-16 14:14:47 -04:00
Josh a31b3ca265 Add move type enum and move struct
Python tests (make) / test (push) Failing after 10s
2025-08-16 14:09:42 -04:00
Josh c02ec7875d add-fen-loader (#5)
Python tests (make) / test (push) Successful in 10s
Reviewed-on: #5
Co-authored-by: Josh <josh@joshuaschuett.com>
Co-committed-by: Josh <josh@joshuaschuett.com>
2025-08-16 16:51:53 +00:00
Josh b9d2f096e0 Update workflow to run on push and pull request close (#4)
Python tests (make) / test (push) Successful in 10s
Reviewed-on: #4
Co-authored-by: Josh <josh@joshuaschuett.com>
Co-committed-by: Josh <josh@joshuaschuett.com>
2025-08-15 16:30:25 +00:00
Josh d7c7176c34 Update readme with proper formatting (#3)
Python tests (make) / test (push) Successful in 10s
Reviewed-on: #3
Co-authored-by: Josh <josh@joshuaschuett.com>
Co-committed-by: Josh <josh@joshuaschuett.com>
2025-08-15 16:25:09 +00:00
Josh b1a39507c1 Add actions workflow file for auto tests (#2)
Python tests (make) / test (push) Successful in 10s
Reviewed-on: #2
Co-authored-by: Josh <josh@joshuaschuett.com>
Co-committed-by: Josh <josh@joshuaschuett.com>
2025-08-15 16:02:22 +00:00
Josh 3ba72c0bc3 add-piece-move-cache (#1)
Reviewed-on: #1
Co-authored-by: Josh <josh@joshuaschuett.com>
Co-committed-by: Josh <josh@joshuaschuett.com>
2025-08-10 19:39:18 +00:00
Josh da31f8b6fe Add readme for chess project 2025-08-10 14:48:55 -04:00