Add Pseudo Move Generator #12

Merged
Josh merged 17 commits from 7-add-pseudo-move-generator into main 2025-08-18 00:28:00 +00:00
Owner

work on #7

work on #7
Josh added 1 commit 2025-08-16 18:10:14 +00:00
Add move type enum and move struct
Some checks failed
Python tests (make) / test (push) Failing after 10s
a31b3ca265
Josh added 2 commits 2025-08-16 18:15:56 +00:00
Add diagonal and orthogonal movements
All checks were successful
Python tests (make) / test (push) Successful in 10s
ed533736e6
Josh added 3 commits 2025-08-16 19:09:08 +00:00
Add pawn movement generators
Some checks failed
Python tests (make) / test (push) Failing after 11s
d541684322
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.
Josh added 2 commits 2025-08-16 19:24:58 +00:00
Rename b to board for clarity and consistency
All checks were successful
Python tests (make) / test (push) Successful in 10s
55666004a0
Josh added 1 commit 2025-08-16 19:25:31 +00:00
Fix comment
All checks were successful
Python tests (make) / test (push) Successful in 10s
3ca2606420
Josh added 1 commit 2025-08-16 19:26:20 +00:00
Fix formatting
All checks were successful
Python tests (make) / test (push) Successful in 10s
362048d630
Josh added 1 commit 2025-08-17 16:18:08 +00:00
Add move_gen function
All checks were successful
Python tests (make) / test (push) Successful in 10s
5a25eba8f6
Josh changed title from Add move type enum and move struct to Add Pseudo Move Generator 2025-08-17 16:23:36 +00:00
Josh added 1 commit 2025-08-17 21:24:31 +00:00
Update test suite
All checks were successful
Python tests (make) / test (push) Successful in 10s
5b4dc74681
Put all ffi code into its own module for clarity.
Josh added 1 commit 2025-08-17 22:53:38 +00:00
Add white pawn move gen test
All checks were successful
Python tests (make) / test (push) Successful in 10s
2028d7fa12
Josh added 1 commit 2025-08-17 23:02:16 +00:00
Add knight tests
All checks were successful
Python tests (make) / test (push) Successful in 10s
fb5e8bb0cb
Josh added 1 commit 2025-08-17 23:12:31 +00:00
Add bishop move gen tests
All checks were successful
Python tests (make) / test (push) Successful in 10s
af829f2208
Josh added 1 commit 2025-08-17 23:50:43 +00:00
Add rook move gen and refactor sub test checks
All checks were successful
Python tests (make) / test (push) Successful in 10s
fd9af926e0
Josh added 1 commit 2025-08-18 00:27:31 +00:00
Add king move gen and a test.c file for quick debug
All checks were successful
Python tests (make) / test (push) Successful in 10s
Python tests (make) / test (pull_request) Successful in 10s
b811e33b81
Josh merged commit 1db90828ac into main 2025-08-18 00:28:00 +00:00
Josh deleted branch 7-add-pseudo-move-generator 2025-08-18 00:28:00 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: projects/chess#12
No description provided.