This website works better with JavaScript.
d3b85133dd
Remove pythonChess
master
Tait Hoyem
2022-06-06 14:12:28 -0600
b28247e1e7
Update catch so it compiles in modern GCC
Tait Hoyem
2022-06-04 23:31:13 -0600
67316fa328
fix warnings
Tait Hoyem
2022-06-04 23:22:12 -0600
aff0eb9a01
remove bs
Tait Hoyem
2021-12-02 17:00:20 -0700
fde67f42cd
Merge branch 'develop'
Tait Hoyem
2020-03-17 18:12:33 +0000
b47a447e54
Add all other functionality. I forgot to commit for some months
Tait Hoyem
2020-03-17 18:03:17 +0000
f92cf22fb0
Switch to using string, instead of stringstream in to_notation
Tait Hoyem
2019-05-03 00:51:57 +0000
e40865a7ba
Move castleing case to start of to_notation
Tait Hoyem
2019-05-03 00:42:44 +0000
3885264dd4
Move moved_board to local scope
Tait Hoyem
2019-05-03 00:16:50 +0000
7b6db255cc
Start refactor of get_all_moves_as_if. Goal: remove all_moves_functions.cpp
Tait Hoyem
2019-05-02 19:33:57 +0000
0c202900fa
Add various compile options, and remove some whitespace
Tait Hoyem
2019-04-29 22:22:20 +0000
3c8577fb42
Start tracking speed of various functions. Uncomplete
Tait Hoyem
2019-04-29 21:01:31 +0000
5d67960721
Add optomization options by using 'make release'
Tait Hoyem
2019-04-29 18:08:37 +0000
1954ef3dc2
Fix chess.cpp to comply with new internals
Tait Hoyem
2019-04-29 18:08:14 +0000
695c8f5b8e
Improve preformace. Add tests.
Tait Hoyem
2019-04-29 17:45:23 +0000
6269bc0311
* -> & (use references instead of pointers)
Tait Hoyem
2019-04-29 17:20:08 +0000
096676fc36
Fix warnings
Tait Hoyem
2019-04-28 20:11:05 +0000
472ff827a8
Turn on warnings
Tait Hoyem
2019-04-28 20:02:18 +0000
c563e611c1
Add king_checked, fancify chess board.
Tait Hoyem
2019-04-28 18:22:53 +0000
25ddada744
is_checked() -> is_attacked(). Fix checking bug/refactored is_attacked.
Tait Hoyem
2019-04-28 16:41:36 +0000
da57a72a2e
Try to track down a bug with checking kings. Add tests.
Tait Hoyem
2019-04-28 15:20:11 +0000
447e4a0f0d
Cleanup code a bit
Tait Hoyem
2019-04-28 04:42:05 +0000
6cad4ca225
Fix error where castle moves are allowed even when in check
Tait Hoyem
2019-04-28 03:19:30 +0000
8ed2904517
Actually fix tests
Tait Hoyem
2019-04-28 03:10:51 +0000
abccfc9030
Fix tests
Tait Hoyem
2019-04-28 03:10:05 +0000
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
Tait Hoyem
2019-04-28 03:02:19 +0000
c8c6cfd7e0
More tests
Tait Hoyem
2019-04-28 02:10:36 +0000
7f489bbc33
Remove unecessary options
Tait Hoyem
2019-04-28 02:07:15 +0000
e8c884f5a8
Almost done. Check checks not working properly.
Tait Hoyem
2019-04-28 01:47:33 +0000
0270636ee2
Remove cout statments
Tait Hoyem
2019-04-27 23:41:28 +0000
0dbeb14c04
Add optimization argument to compiler
Tait Hoyem
2019-04-27 23:40:42 +0000
979d12553f
Fix bug where moves would accumulate in get_all_<team>_moves.
Tait Hoyem
2019-04-27 23:39:42 +0000
70129a3219
Working on bug...TBC
Tait Hoyem
2019-04-27 16:15:43 +0000
f2cff7440b
Make terminal output look nice
Tait Hoyem
2019-04-27 15:01:45 +0000
601b4d1439
Add pawn promotion notation
Tait Hoyem
2019-04-27 04:24:10 +0000
d69be941e4
to_notation working
Tait Hoyem
2019-04-27 03:02:26 +0000
036d41e589
Checkmate marks (#) now work.
Tait Hoyem
2019-04-26 19:35:15 +0000
2097fad6c8
justins attempt at python
Justin Pilon
2019-04-26 13:21:58 -0600
ffa404f0cb
Partial implementation of agebraic notation.
Tait Hoyem
2019-04-25 22:03:00 +0000
1920250a25
Put captured piece in move int
Tait Hoyem
2019-04-25 18:16:18 +0000
b53c46cb63
Disallow queenside casle when the rook is blocked
Tait Hoyem
2019-04-25 17:25:52 +0000
c0a05a17bd
Make en passant moves work properly in the dumb_move function
Tait Hoyem
2019-04-25 16:34:27 +0000
ed39d8aefb
Castling moves showing properly. Become invalid if in check on square or square before castling square.
Tait Hoyem
2019-04-25 03:20:47 +0000
424a0fe7d0
Fix left side of board showing 9-2, instead of 8-1
Tait Hoyem
2019-04-24 16:49:22 +0000
5b7e16c081
Pawn promotions addad.
Tait Hoyem
2019-04-24 16:25:50 +0000
14b15087d2
Remove cout
Tait Hoyem
2019-04-24 04:38:22 +0000
e06887fe8f
Fix order of possible moves
Tait Hoyem
2019-04-24 01:08:18 +0000
16add284ef
Make unordered_sets unto vectors
Tait Hoyem
2019-04-23 22:36:16 +0000
52ec82f7df
Half-done fixing the conversion of moves to bit-shifted variants
Tait Hoyem
2019-04-23 22:00:43 +0000
0b84fcf8e0
All tests running on 10x12 board, and bitwise moves.
Tait Hoyem
2019-04-23 20:48:52 +0000
c585c1543e
Check get_to_squares works properly
Tait Hoyem
2019-04-23 17:24:21 +0000
4582d40db0
Merge branch 'develop' of https://github.com/TTWNO/chess into develop
Tait Hoyem
2019-04-23 17:12:24 +0000
62a0b4ce6a
Fix some bugs, make bitwise tests pass.
Tait Hoyem
2019-04-23 17:12:12 +0000
b9487242bc
Remove get_to_squares from right hand side of tests
Justin Pilon
2019-04-21 16:19:07 -0600
6caf487f94
Add custom printing back
Tait Hoyem
2019-04-20 22:22:29 +0000
f18240cf5a
Fix names, remove bitwise_ prefix
Tait Hoyem
2019-04-20 22:06:11 +0000
580c43a8e8
Bitwise functions/tests now compile.
Tait Hoyem
2019-04-20 21:56:42 +0000
20c87a3988
Half-way done switching to bitwise moves.
Tait Hoyem
2019-04-20 04:26:00 +0000
0422768eb0
Add tests for and fix is_valid_position
Tait Hoyem
2019-04-18 01:27:38 +0000
f80d961dea
Minor refactoring in preperation for bitshift moves
Tait Hoyem
2019-04-18 01:20:44 +0000
9fcf3b8a98
Change macro to function for saftey, and style
Tait Hoyem
2019-04-18 01:20:13 +0000
50763bd2b5
implement bitwise operation for moves
Justin Pilon
2019-04-13 21:53:52 -0600
e1be66d8e9
Add into for complete move int
Tait Hoyem
2019-04-11 22:36:55 +0000
f811e44045
Add more detailed comments
Tait Hoyem
2019-04-11 22:15:09 +0000
3a6c0a0562
Start adding bitwise opperators. Finish with Justin
Tait Hoyem
2019-04-11 21:57:47 +0000
792d0cc5ee
Add en passant as possible moves. Cannot move yet due to dumb_move being.. dumb. Seperate custom printing out of main test file.
Tait Hoyem
2019-04-10 21:06:54 +0000
fb8481bf6b
Putting your own king in check now disqualifies a move.
Tait Hoyem
2019-04-09 23:49:09 +0000
805360bb4e
Return pseudo-valid moves. King check still WIP.
Tait Hoyem
2019-04-09 20:24:45 +0000
832ca16013
Add debugging symbols for gdb
Tait Hoyem
2019-04-09 20:23:31 +0000
91276cd24c
Fix more permissions
Tait Hoyem
2019-04-08 23:01:31 +0000
00527816bf
Fix permissions.
Tait Hoyem
2019-04-08 22:58:08 +0000
e848942557
Split compiling of catch_main and tests. Hopefully better compile times.
Tait Hoyem
2019-04-08 22:57:19 +0000
3c45e0ad75
Add some tests for checking only valid moves
Tait Hoyem
2019-04-08 22:08:24 +0000
8347d83391
Cleanup
Tait Hoyem
2019-04-08 21:45:19 +0000
5745f34b79
Seperate all_moves sub functions into new file
Tait Hoyem
2019-04-08 21:15:26 +0000
4840be2ee4
All [get_all_moves] tests working.
Tait Hoyem
2019-04-08 21:08:09 +0000
f14ba6346a
vector<Position> -> unordered_set<Position>
Tait Hoyem
2019-04-08 20:56:32 +0000
597eea5810
Merge 'fix_knight', and remove polynomial code
Tait Hoyem
2019-04-08 19:06:28 +0000
6b8f5ed7ad
justins polynomial knight implementation please don't insult it, he loves math!
gitJustin86
2019-04-08 19:52:01 +0100
7c45069bbb
Fix knight with fixed offset method
Tait Hoyem
2019-04-08 18:14:12 +0000
735e14f3aa
Let's keep the Makefile as simple as possible.
Tait Hoyem
2019-04-08 16:41:51 +0000
eb3a05ac61
first polynomial attempt
gitJustin86
2019-04-08 17:37:24 +0100
7804775b99
broken pawns
Justin Pilon
2019-04-07 22:55:19 -0600
126a9b02e1
Add some edge cases
Tait Hoyem
2019-04-08 04:33:24 +0000
9b63cd6c52
Fix king and knight checks by removing pair_to_pos in if statements
Tait Hoyem
2019-04-08 04:33:06 +0000
2f0be9c302
fully implemented kinght and king for get all moves
Justin Pilon
2019-04-07 21:58:06 -0600
4f09433cb3
Fix curly brace
Tait Hoyem
2019-04-08 03:30:08 +0000
2a0c129874
broken knight
Justin Pilon
2019-04-07 21:25:45 -0600
d76f2f13ef
Remove unused variables, and justin's old bishop code
Tait Hoyem
2019-04-08 00:48:14 +0000
5cb6d225b7
Merge branch 'develop'
Tait Hoyem
2019-04-08 00:41:35 +0000
eaf929ef9a
Make all_moves(Bishop) work correctly.
Tait Hoyem
2019-04-08 00:41:23 +0000
0ad4736291
partially implemented bishop for function all moves
Justin Pilon
2019-04-07 18:23:32 -0600
c7d906e81d
Fix warnings when compiling on Raspi (I think)
Tait Hoyem
2019-04-07 17:39:25 +0000
400599fc91
Revamp get_all_moves tests.
Tait Hoyem
2019-04-07 17:34:05 +0000
f33d3125a0
#ifdef -> #ifndef
Tait Hoyem
2019-04-07 15:00:34 +0000
4b50122f12
Allow multiple imports of constants.h with #ifdef. Fix typo.
Tait Hoyem
2019-04-07 14:53:41 +0000
1026bcc9f8
Add comments for clarity
Tait Hoyem
2019-04-07 14:39:56 +0000
a6d8ed5e8c
Fix up the format of the tests a wee bit.
Tait Hoyem
2019-04-07 06:42:05 +0000
2575a55b2f
Define, add tests for and write partial impl. of get_all_moves
Justin Pilon
2019-04-07 00:06:18 -0600
e40f10adde
Change CHESS_CARS to CPP std::array
Justin Pilon
2019-04-07 00:05:01 -0600