58 Commits (f80d961deab026fe962b26305cb3ad27a8a17e01)
 

Author SHA1 Message Date
Tait Hoyem f80d961dea Minor refactoring in preperation for bitshift moves
5 years ago
Tait Hoyem 9fcf3b8a98 Change macro to function for saftey, and style
5 years ago
Justin Pilon 50763bd2b5 implement bitwise operation for moves
5 years ago
Tait Hoyem e1be66d8e9 Add into for complete move int
5 years ago
Tait Hoyem f811e44045 Add more detailed comments
5 years ago
Tait Hoyem 3a6c0a0562 Start adding bitwise opperators. Finish with Justin
5 years ago
Tait Hoyem 792d0cc5ee Add en passant as possible moves. Cannot move yet due to dumb_move being.. dumb. Seperate custom printing out of main test file.
5 years ago
Tait Hoyem fb8481bf6b Putting your own king in check now disqualifies a move.
5 years ago
Tait Hoyem 805360bb4e Return pseudo-valid moves. King check still WIP.
5 years ago
Tait Hoyem 832ca16013 Add debugging symbols for gdb
5 years ago
Tait Hoyem 91276cd24c Fix more permissions
5 years ago
Tait Hoyem 00527816bf Fix permissions.
5 years ago
Tait Hoyem e848942557 Split compiling of catch_main and tests. Hopefully better compile times.
5 years ago
Tait Hoyem 3c45e0ad75 Add some tests for checking only valid moves
5 years ago
Tait Hoyem 8347d83391 Cleanup
5 years ago
Tait Hoyem 5745f34b79 Seperate all_moves sub functions into new file
5 years ago
Tait Hoyem 4840be2ee4 All [get_all_moves] tests working.
5 years ago
Tait Hoyem f14ba6346a vector<Position> -> unordered_set<Position>
5 years ago
Tait Hoyem 597eea5810 Merge 'fix_knight', and remove polynomial code
5 years ago
gitJustin86 6b8f5ed7ad justins polynomial knight implementation please don't insult it, he loves math!
5 years ago
Tait Hoyem 7c45069bbb Fix knight with fixed offset method
5 years ago
Tait Hoyem 735e14f3aa Let's keep the Makefile as simple as possible.
5 years ago
gitJustin86 eb3a05ac61 first polynomial attempt
5 years ago
Justin Pilon 7804775b99 broken pawns
5 years ago
Tait Hoyem 126a9b02e1 Add some edge cases
5 years ago
Tait Hoyem 9b63cd6c52 Fix king and knight checks by removing pair_to_pos in if statements
5 years ago
Justin Pilon 2f0be9c302 fully implemented kinght and king for get all moves
5 years ago
Tait Hoyem 4f09433cb3 Fix curly brace
5 years ago
Justin Pilon 2a0c129874 broken knight
5 years ago
Tait Hoyem d76f2f13ef Remove unused variables, and justin's old bishop code
5 years ago
Tait Hoyem 5cb6d225b7 Merge branch 'develop'
5 years ago
Tait Hoyem eaf929ef9a Make all_moves(Bishop) work correctly.
5 years ago
Justin Pilon 0ad4736291 partially implemented bishop for function all moves
5 years ago
Tait Hoyem c7d906e81d Fix warnings when compiling on Raspi (I think)
5 years ago
Tait Hoyem 400599fc91 Revamp get_all_moves tests.
5 years ago
Tait Hoyem f33d3125a0 #ifdef -> #ifndef
5 years ago
Tait Hoyem 4b50122f12 Allow multiple imports of constants.h with #ifdef. Fix typo.
5 years ago
Tait Hoyem 1026bcc9f8 Add comments for clarity
5 years ago
Tait Hoyem a6d8ed5e8c Fix up the format of the tests a wee bit.
5 years ago
Justin Pilon 2575a55b2f Define, add tests for and write partial impl. of get_all_moves
5 years ago
Justin Pilon e40f10adde Change CHESS_CARS to CPP std::array
5 years ago
Tait Hoyem f3248ad171
Update README.md
5 years ago
Tait Hoyem b0030d1091
Update README.md
5 years ago
Tait Hoyem b4b20a3892
Update README.md
5 years ago
Tait Hoyem 597c47a2c7 Add -std=c++11 flag to Makefile
5 years ago
Tait Hoyem 026f564e83 Change name of main file
5 years ago
Tait Hoyem a1049ce20a Fix tests. Was using incorrect coordinate system,
5 years ago
Tait Hoyem 8cd46542ef Fix board type. Add pos_to_pair, pair_to_pos functions
5 years ago
Tait Hoyem e3d2b4804d Make board type array<PieceType, 64>
5 years ago
Tait Hoyem 3144e7d7f5 Print pairs in tests. Add new tests for unimplemented functions
5 years ago