30 Commits (master)

Author SHA1 Message Date
Tait Hoyem b47a447e54 Add all other functionality. I forgot to commit for some months
4 years ago
Tait Hoyem 7b6db255cc Start refactor of get_all_moves_as_if. Goal: remove all_moves_functions.cpp
5 years ago
Tait Hoyem 0c202900fa Add various compile options, and remove some whitespace
5 years ago
Tait Hoyem 695c8f5b8e Improve preformace. Add tests.
5 years ago
Tait Hoyem 25ddada744 is_checked() -> is_attacked(). Fix checking bug/refactored is_attacked.
5 years ago
Tait Hoyem da57a72a2e Try to track down a bug with checking kings. Add tests.
5 years ago
Tait Hoyem 6cad4ca225 Fix error where castle moves are allowed even when in check
5 years ago
Tait Hoyem 8ed2904517 Actually fix tests
5 years ago
Tait Hoyem abccfc9030 Fix tests
5 years ago
Tait Hoyem 96848371d6 Fix an error where castling is allowed even when it a) puts the king in check or b) puts the king in check on one of the squares on the way to the final position
5 years ago
Tait Hoyem c8c6cfd7e0 More tests
5 years ago
Tait Hoyem e8c884f5a8 Almost done. Check checks not working properly.
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 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 e06887fe8f Fix order of possible moves
5 years ago
Tait Hoyem 16add284ef Make unordered_sets unto vectors
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 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 3c45e0ad75 Add some tests for checking only valid moves
5 years ago