40 Commits (c8c6cfd7e049bb607eac6acb2d6a5b825cb61b74)

Author SHA1 Message Date
Tait Hoyem e8c884f5a8 Almost done. Check checks not working properly.
5 years ago
Tait Hoyem 0270636ee2 Remove cout statments
5 years ago
Tait Hoyem 979d12553f Fix bug where moves would accumulate in get_all_<team>_moves.
5 years ago
Tait Hoyem 70129a3219 Working on bug...TBC
5 years ago
Tait Hoyem 601b4d1439 Add pawn promotion notation
5 years ago
Tait Hoyem d69be941e4 to_notation working
5 years ago
Tait Hoyem 036d41e589 Checkmate marks (#) now work.
5 years ago
Tait Hoyem ffa404f0cb Partial implementation of agebraic notation.
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 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 f18240cf5a Fix names, remove bitwise_ prefix
5 years ago
Tait Hoyem f80d961dea Minor refactoring in preperation for bitshift moves
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 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
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 eaf929ef9a Make all_moves(Bishop) work correctly.
5 years ago
Justin Pilon 0ad4736291 partially implemented bishop for function all moves
5 years ago
Justin Pilon 2575a55b2f Define, add tests for and write partial impl. of get_all_moves
5 years ago
Tait Hoyem 8cd46542ef Fix board type. Add pos_to_pair, pair_to_pos functions
5 years ago
Tait Hoyem 5725803920 Change board from int[64] to vector<int, 64>
5 years ago
Tait Hoyem 7e03a7c085 Redo tracking system. Add tests
5 years ago