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
|
7f489bbc33
|
Remove unecessary options
|
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
|
0dbeb14c04
|
Add optimization argument to compiler
|
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
|
f2cff7440b
|
Make terminal output look nice
|
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
|
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
|
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 |
Tait Hoyem
|
832ca16013
|
Add debugging symbols for gdb
|
5 years ago |
Tait Hoyem
|
91276cd24c
|
Fix more permissions
|
5 years ago |
Tait Hoyem
|
00527816bf
|
Fix permissions.
|
5 years ago |
Tait Hoyem
|
e848942557
|
Split compiling of catch_main and tests. Hopefully better compile times.
|
5 years ago |
Tait Hoyem
|
3c45e0ad75
|
Add some tests for checking only valid moves
|
5 years ago |
Tait Hoyem
|
8347d83391
|
Cleanup
|
5 years ago |
Tait Hoyem
|
5745f34b79
|
Seperate all_moves sub functions into new file
|
5 years ago |