54 Commits (1920250a25e6272b9e4515f853de03ffbe07e891)

Author SHA1 Message Date
Tait Hoyem 1920250a25 Put captured piece in move int
5 years ago
Tait Hoyem b53c46cb63 Disallow queenside casle when the rook is blocked
5 years ago
Tait Hoyem c0a05a17bd Make en passant moves work properly in the dumb_move function
5 years ago
Tait Hoyem ed39d8aefb Castling moves showing properly. Become invalid if in check on square or square before castling square.
5 years ago
Tait Hoyem 5b7e16c081 Pawn promotions addad.
5 years ago
Tait Hoyem 16add284ef Make unordered_sets unto vectors
5 years ago
Tait Hoyem 52ec82f7df Half-done fixing the conversion of moves to bit-shifted variants
5 years ago
Tait Hoyem 0b84fcf8e0 All tests running on 10x12 board, and bitwise moves.
5 years ago
Tait Hoyem c585c1543e Check get_to_squares works properly
5 years ago
Tait Hoyem 62a0b4ce6a Fix some bugs, make bitwise tests pass.
5 years ago
Tait Hoyem f18240cf5a Fix names, remove bitwise_ prefix
5 years ago
Tait Hoyem 580c43a8e8 Bitwise functions/tests now compile.
5 years ago
Tait Hoyem 20c87a3988 Half-way done switching to bitwise moves.
5 years ago
Tait Hoyem 0422768eb0 Add tests for and fix is_valid_position
5 years ago
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 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 91276cd24c Fix more permissions
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 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 f33d3125a0 #ifdef -> #ifndef
5 years ago
Tait Hoyem 4b50122f12 Allow multiple imports of constants.h with #ifdef. Fix typo.
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 026f564e83 Change name of main file
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 5725803920 Change board from int[64] to vector<int, 64>
5 years ago
Tait Hoyem dd3709eb1b Add Rank::[A-H], and File::[ONE..EIGHT] constants.
5 years ago
Tait Hoyem 7e03a7c085 Redo tracking system. Add tests
5 years ago