Tait Hoyem
|
67316fa328
|
fix warnings
|
2 years ago |
Tait Hoyem
|
b47a447e54
|
Add all other functionality. I forgot to commit for some months
|
4 years ago |
Tait Hoyem
|
f92cf22fb0
|
Switch to using string, instead of stringstream in to_notation
|
5 years ago |
Tait Hoyem
|
e40865a7ba
|
Move castleing case to start of to_notation
|
5 years ago |
Tait Hoyem
|
3885264dd4
|
Move moved_board to local scope
|
5 years ago |
Tait Hoyem
|
7b6db255cc
|
Start refactor of get_all_moves_as_if. Goal: remove all_moves_functions.cpp
|
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
|
096676fc36
|
Fix warnings
|
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
|
447e4a0f0d
|
Cleanup code a bit
|
5 years ago |
Tait Hoyem
|
6cad4ca225
|
Fix error where castle moves are allowed even when in check
|
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
|
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 |