Commit graph

  • b87b9e0a18 Add more logging master Alex Clink 2021-10-15 22:18:59 -04:00
  • fa4486569e Add depth to move calculations Alex Clink 2021-10-03 22:26:09 -04:00
  • 6aea3e95ca Add options for symbols and color to term_board Alex Clink 2021-10-03 17:16:02 -04:00
  • 81e3c6b310 Refactor term_game Alex Clink 2021-10-02 20:24:06 -04:00
  • 8a7d7a11cf Update tests Alex Clink 2021-10-02 19:12:06 -04:00
  • 22084ccbe3 Add computer player Alex Clink 2021-10-01 00:18:34 -04:00
  • d91111995f Fix alternating colors for oddly shaped boards Alex Clink 2021-09-28 22:06:17 -04:00
  • bcf6f385c8 Fix off by one error Alex Clink 2021-09-28 22:05:48 -04:00
  • 5427797139 Add disambiguation to SAN generation Alex Clink 2021-09-27 23:34:47 -04:00
  • d8c2a79733 Add board scoring and basic suggestion Alex Clink 2021-09-27 21:01:04 -04:00
  • ede109d49d Add undo for PGN loaded files Alex Clink 2021-09-26 23:36:24 -04:00
  • ec778a44b2 Add ability to undo a move Alex Clink 2021-09-26 20:52:22 -04:00
  • a0f65efbb5 Change Game#index to Game#index_of to unshadow previous def Alex Clink 2021-09-26 16:38:55 -04:00
  • 213eaaac2e Fix FEN regex Alex Clink 2021-09-25 01:30:28 -04:00
  • f5285baf12 Parse PGN into game Alex Clink 2021-09-25 01:24:36 -04:00
  • 3b5382a224 Capture extra blank space when matching Alex Clink 2021-09-25 00:31:42 -04:00
  • c0844b382a Add parsing pgn with comments and variations Alex Clink 2021-09-25 00:25:51 -04:00
  • eafa4e0fbb Fix castling check when converting move to SAN Alex Clink 2021-09-25 00:24:55 -04:00
  • a66bf70a65 Disambiguate further when a move may be illegal Alex Clink 2021-09-24 22:39:18 -04:00
  • a93165f78a Better pattern matching Alex Clink 2021-09-24 22:39:06 -04:00
  • 9901698258 make_move no longer return SAN Alex Clink 2021-09-24 22:37:51 -04:00
  • bfae01ff3e Add initial PGN file parser Alex Clink 2021-09-23 23:53:13 -04:00
  • 25e7f9cc9a Add remove_illegal_moves method Alex Clink 2021-09-22 23:04:21 -04:00
  • e99cd86369 Separate san generation from making moves Alex Clink 2021-09-22 22:19:56 -04:00
  • 6b5b79451e Update move_to_san to recognize castling Alex Clink 2021-09-22 22:11:13 -04:00
  • 5077339246 Add checkmate detection in SAN generation Alex Clink 2021-09-21 23:46:32 -04:00
  • 93d5c58c57 Add method to test for checkmate Alex Clink 2021-09-21 21:53:15 -04:00
  • bc75d4bc50 Bump version Alex Clink 2021-09-20 23:35:44 -04:00
  • bbc5a0d893 Add intermediate square checks while castling Alex Clink 2021-09-20 23:34:51 -04:00
  • 3502140bdb Add promotion and promotion checks for pawns Alex Clink 2021-09-20 23:20:59 -04:00
  • f96c207066 Add docs Alex Clink 2021-09-19 22:15:34 -04:00
  • ced238add0 Bump version Alex Clink 2021-09-19 22:00:43 -04:00
  • 90a5683236 Move terminal game into own class Alex Clink 2021-09-19 21:59:59 -04:00
  • 1608aa7b90 Fix off by one error Alex Clink 2021-09-19 21:59:47 -04:00
  • ccd3e93460 Fully set fen attributes Alex Clink 2021-09-19 21:11:48 -04:00
  • 3db239099f Remove redundant method Alex Clink 2021-09-19 18:51:51 -04:00
  • d9ca848bc3 Add tests for check Alex Clink 2021-09-19 18:48:22 -04:00
  • 01625b0c9b Add extra castling specs Alex Clink 2021-09-19 17:34:18 -04:00
  • c9448fe368 Fix capture distinction in notation regex Alex Clink 2021-09-18 17:08:28 -04:00
  • 1397a01aaf Add some specs for parsing SAN Alex Clink 2021-09-18 12:54:04 -04:00
  • 7614001e45 Fix castling queenside for black Alex Clink 2021-09-17 23:19:47 -04:00
  • ceaaf16f80 More robust castling, fixed fen parsing Alex Clink 2021-09-17 00:08:53 -04:00
  • 054170871f Print pgn on side of board Alex Clink 2021-09-15 23:50:38 -04:00
  • 9b727ad3d5 Render full fen string Alex Clink 2021-09-15 22:46:34 -04:00
  • 322249c6b3 Fix index error if no players are set Alex Clink 2021-09-15 00:05:30 -04:00
  • 6fb1b76c65 Add castling, allow setting board-theme Alex Clink 2021-09-14 23:59:30 -04:00
  • 4bee64dcdd Add en passant captures Alex Clink 2021-09-14 00:06:17 -04:00
  • 63679d2f67 Add docs Alex Clink 2021-09-13 23:19:09 -04:00
  • b056d2d445 Always disambiguate moves, update method docs Alex Clink 2021-09-12 23:55:15 -04:00
  • d7623482fd Make SAN case sensitive, add ability to specify from to squares Alex Clink 2021-09-12 23:37:31 -04:00
  • d750e9cba0 Add en passant move generation Alex Clink 2021-09-12 15:49:19 -04:00
  • 39010fcdf2 Fix fen placement string, disambiguate moves from san Alex Clink 2021-09-12 00:01:54 -04:00
  • 279a9adaaa Add pawn captures, FEN placement, board turns Alex Clink 2021-09-11 23:20:00 -04:00
  • 466075bee9 Add moving pieces based on input SAN Alex Clink 2021-09-11 21:14:05 -04:00
  • e496f6c51a Generate all pseudolegal moves Alex Clink 2021-09-11 00:07:22 -04:00
  • af020fb3c6 Add more moves to generation Alex Clink 2021-09-09 23:59:31 -04:00
  • 5ebe8a920c Update method for consistency Alex Clink 2021-09-09 00:55:52 -04:00
  • 025c8b9681 Add initial SAN parsing Alex Clink 2021-09-09 00:52:11 -04:00
  • c55511dcb9 Add MoveSet Alex Clink 2021-09-08 23:41:29 -04:00
  • 9254aa5cdf Add some basic move generation Alex Clink 2021-09-07 23:37:37 -04:00
  • 0e8ad2878a Consolidate classes Alex Clink 2021-09-07 22:41:18 -04:00
  • d2f9753255 Add concrete move object Alex Clink 2021-09-07 21:14:28 -04:00
  • e21d704046 Add notation parser Alex Clink 2021-09-07 00:12:35 -04:00
  • 5411b6f75d Add a few specs Alex Clink 2021-09-05 00:28:54 -04:00
  • 3132fee58f Add more methods to board Alex Clink 2021-09-04 23:09:24 -04:00
  • 3f2d89e0ad Refactor placement to own method Alex Clink 2021-09-04 19:48:12 -04:00
  • f19fb93e5b Initial commit Alex Clink 2021-09-02 23:20:21 -04:00