68 Commits (master)

Author SHA1 Message Date
Tait Hoyem b28247e1e7 Update catch so it compiles in modern GCC
2 years ago
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 3c8577fb42 Start tracking speed of various functions. Uncomplete
5 years ago
Tait Hoyem 5d67960721 Add optomization options by using 'make release'
5 years ago
Tait Hoyem 695c8f5b8e Improve preformace. Add tests.
5 years ago
Tait Hoyem 6269bc0311 * -> & (use references instead of pointers)
5 years ago
Tait Hoyem c563e611c1 Add king_checked, fancify chess board.
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 424a0fe7d0 Fix left side of board showing 9-2, instead of 8-1
5 years ago
Tait Hoyem 5b7e16c081 Pawn promotions addad.
5 years ago
Tait Hoyem 14b15087d2 Remove cout
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 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 4582d40db0 Merge branch 'develop' of https://github.com/TTWNO/chess into develop
5 years ago
Tait Hoyem 62a0b4ce6a Fix some bugs, make bitwise tests pass.
5 years ago
Justin Pilon b9487242bc Remove get_to_squares from right hand side of tests
5 years ago
Tait Hoyem 6caf487f94 Add custom printing back
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 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