Tait Hoyem
|
d3b85133dd
|
Remove pythonChess
|
1 year ago |
Tait Hoyem
|
b28247e1e7
|
Update catch so it compiles in modern GCC
|
1 year ago |
Tait Hoyem
|
67316fa328
|
fix warnings
|
1 year ago |
Tait Hoyem
|
aff0eb9a01
|
remove bs
|
2 years ago |
Tait Hoyem
|
fde67f42cd
|
Merge branch 'develop'
|
4 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
|
4 years ago |
Tait Hoyem
|
e40865a7ba
|
Move castleing case to start of to_notation
|
4 years ago |
Tait Hoyem
|
3885264dd4
|
Move moved_board to local scope
|
4 years ago |
Tait Hoyem
|
7b6db255cc
|
Start refactor of get_all_moves_as_if. Goal: remove all_moves_functions.cpp
|
4 years ago |
Tait Hoyem
|
0c202900fa
|
Add various compile options, and remove some whitespace
|
4 years ago |
Tait Hoyem
|
3c8577fb42
|
Start tracking speed of various functions. Uncomplete
|
4 years ago |
Tait Hoyem
|
5d67960721
|
Add optomization options by using 'make release'
|
4 years ago |
Tait Hoyem
|
1954ef3dc2
|
Fix chess.cpp to comply with new internals
|
4 years ago |
Tait Hoyem
|
695c8f5b8e
|
Improve preformace. Add tests.
|
4 years ago |
Tait Hoyem
|
6269bc0311
|
* -> & (use references instead of pointers)
|
4 years ago |
Tait Hoyem
|
096676fc36
|
Fix warnings
|
4 years ago |
Tait Hoyem
|
472ff827a8
|
Turn on warnings
|
4 years ago |
Tait Hoyem
|
c563e611c1
|
Add king_checked, fancify chess board.
|
4 years ago |
Tait Hoyem
|
25ddada744
|
is_checked() -> is_attacked(). Fix checking bug/refactored is_attacked.
|
4 years ago |
Tait Hoyem
|
da57a72a2e
|
Try to track down a bug with checking kings. Add tests.
|
4 years ago |
Tait Hoyem
|
447e4a0f0d
|
Cleanup code a bit
|
4 years ago |
Tait Hoyem
|
6cad4ca225
|
Fix error where castle moves are allowed even when in check
|
4 years ago |
Tait Hoyem
|
8ed2904517
|
Actually fix tests
|
4 years ago |
Tait Hoyem
|
abccfc9030
|
Fix tests
|
4 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
|
4 years ago |
Tait Hoyem
|
c8c6cfd7e0
|
More tests
|
4 years ago |
Tait Hoyem
|
7f489bbc33
|
Remove unecessary options
|
4 years ago |
Tait Hoyem
|
e8c884f5a8
|
Almost done. Check checks not working properly.
|
4 years ago |
Tait Hoyem
|
0270636ee2
|
Remove cout statments
|
4 years ago |
Tait Hoyem
|
0dbeb14c04
|
Add optimization argument to compiler
|
4 years ago |
Tait Hoyem
|
979d12553f
|
Fix bug where moves would accumulate in get_all_<team>_moves.
|
4 years ago |
Tait Hoyem
|
70129a3219
|
Working on bug...TBC
|
4 years ago |
Tait Hoyem
|
f2cff7440b
|
Make terminal output look nice
|
4 years ago |
Tait Hoyem
|
601b4d1439
|
Add pawn promotion notation
|
4 years ago |
Tait Hoyem
|
d69be941e4
|
to_notation working
|
4 years ago |
Tait Hoyem
|
036d41e589
|
Checkmate marks (#) now work.
|
4 years ago |
Justin Pilon
|
2097fad6c8
|
justins attempt at python
|
4 years ago |
Tait Hoyem
|
ffa404f0cb
|
Partial implementation of agebraic notation.
|
4 years ago |
Tait Hoyem
|
1920250a25
|
Put captured piece in move int
|
4 years ago |
Tait Hoyem
|
b53c46cb63
|
Disallow queenside casle when the rook is blocked
|
4 years ago |
Tait Hoyem
|
c0a05a17bd
|
Make en passant moves work properly in the dumb_move function
|
4 years ago |
Tait Hoyem
|
ed39d8aefb
|
Castling moves showing properly. Become invalid if in check on square or square before castling square.
|
4 years ago |
Tait Hoyem
|
424a0fe7d0
|
Fix left side of board showing 9-2, instead of 8-1
|
4 years ago |
Tait Hoyem
|
5b7e16c081
|
Pawn promotions addad.
|
4 years ago |
Tait Hoyem
|
14b15087d2
|
Remove cout
|
4 years ago |
Tait Hoyem
|
e06887fe8f
|
Fix order of possible moves
|
4 years ago |
Tait Hoyem
|
16add284ef
|
Make unordered_sets unto vectors
|
4 years ago |
Tait Hoyem
|
52ec82f7df
|
Half-done fixing the conversion of moves to bit-shifted variants
|
4 years ago |
Tait Hoyem
|
0b84fcf8e0
|
All tests running on 10x12 board, and bitwise moves.
|
4 years ago |