Commit Graph

  • 9d21141d3c fixed pawn capture + promotion action Karma Riuk 2025-02-03 19:10:07 +01:00
  • 974af5d19f we can now print a move (stockfish stile) Karma Riuk 2025-02-03 19:09:21 +01:00
  • df07b4399d minor fix Karma Riuk 2025-02-03 19:09:13 +01:00
  • fa59784230 fixed castling rights that were not removed properly Karma Riuk 2025-02-03 19:08:26 +01:00
  • be34045f92 minor fix Karma Riuk 2025-02-03 19:08:21 +01:00
  • 4eaed699c0 fixed en passant capture Karma Riuk 2025-02-03 16:26:31 +01:00
  • 310abb0611 fixed slight mistake Karma Riuk 2025-02-03 16:12:20 +01:00
  • b70ca5302a put back good code Karma Riuk 2025-02-03 15:36:11 +01:00
  • 83af5f0b97 removed problemaic code Karma Riuk 2025-02-03 15:35:43 +01:00
  • 72ba6a80ae made types behave Karma Riuk 2025-02-03 15:35:03 +01:00
  • 1723356f62 removed useless stuff Karma Riuk 2025-02-03 15:34:52 +01:00
  • 75adb4b1ba removed already existing variable Karma Riuk 2025-02-03 15:34:12 +01:00
  • 6951b860da forgot to push the normal moves for the pawn, fixed it now Karma Riuk 2025-02-03 14:05:32 +01:00
  • 805d9fa95c fixed implicit type casting (warning) Karma Riuk 2025-02-03 14:05:16 +01:00
  • 4df7cbf01a fixed piece recognition Karma Riuk 2025-02-03 14:04:52 +01:00
  • 00137e022a fixed move for position initial guard Karma Riuk 2025-02-03 14:04:27 +01:00
  • 570b8df4a7 fixed look_direction Karma Riuk 2025-02-03 14:04:18 +01:00
  • 9a66a71c38 handling better the output of perft Karma Riuk 2025-02-03 13:59:33 +01:00
  • 41e4119468 reordered members of enum Karma Riuk 2025-02-03 13:51:43 +01:00
  • e7fc1b06de fixed the is_within_bounds check Karma Riuk 2025-02-03 13:50:48 +01:00
  • 5f79b81ce4 added validity check when creating coords from index Karma Riuk 2025-02-03 13:50:34 +01:00
  • e5819ee83b minor fix Karma Riuk 2025-02-03 13:50:15 +01:00
  • 58109c5120 fixed condition Karma Riuk 2025-02-03 13:49:40 +01:00
  • 6478176a7d fixed check condition Karma Riuk 2025-02-03 13:47:27 +01:00
  • ab088da33c removed useless this-> Karma Riuk 2025-02-03 13:47:17 +01:00
  • 31799cb0ec added optimization and warning flags to the compiler Karma Riuk 2025-02-03 13:44:53 +01:00
  • 96dcbc0a6c actually counting milliseconds now Karma Riuk 2025-02-03 13:41:45 +01:00
  • ce06097063 i forgot to actually implement the root legal_moves haha Karma Riuk 2025-02-03 01:12:30 +01:00
  • 3fc2aa73ad actually counting milliseconds now Karma Riuk 2025-02-03 01:06:07 +01:00
  • de6a03ce08 fixed mistake Karma Riuk 2025-02-03 01:05:59 +01:00
  • dc3031ddc1 we can finally print pieces and colours properly Karma Riuk 2025-02-03 01:05:37 +01:00
  • 5e4b880aad checking perft to see if my cpp implementation is correct Karma Riuk 2025-02-03 00:33:12 +01:00
  • 540ffa4fb3 fixed slight mistake Karma Riuk 2025-02-03 00:33:04 +01:00
  • 21136a26f0 implemented the last details to make everything work (hopefully) Karma Riuk 2025-02-03 00:08:37 +01:00
  • fa57dcfc30 apparently the default value of a paramter goes in the declaration and not the defintion, i didn't know that Karma Riuk 2025-02-03 00:08:13 +01:00
  • 8da349579d make_move now checks castle rights after each move Karma Riuk 2025-02-02 23:52:24 +01:00
  • f0467bc516 make_move now handles castling Karma Riuk 2025-02-02 23:34:10 +01:00
  • a7cf8e0c21 make_move now handles the setting of en passant targets Karma Riuk 2025-02-02 23:33:52 +01:00
  • 2128159914 make_move now handles promotion Karma Riuk 2025-02-02 23:33:29 +01:00
  • c564add509 removed useless variable Karma Riuk 2025-02-02 23:33:20 +01:00
  • 31b0656332 fixed promotion missing colour Karma Riuk 2025-02-02 23:16:53 +01:00
  • 24165bb5bb made comment more accurate Karma Riuk 2025-02-02 23:14:13 +01:00
  • 4c8fdfa3b4 implemented en passant in legal moves Karma Riuk 2025-02-02 23:13:37 +01:00
  • 84c3af2bb1 fully support FEN strings now v0.6.0 Karma Riuk 2025-02-02 23:05:42 +01:00
  • 22acfc5027 fixed slight bug Karma Riuk 2025-02-02 23:05:26 +01:00
  • 1ff4b6b1f4 implemented the en passant target support for FEN strings Karma Riuk 2025-02-02 22:52:23 +01:00
  • 2493892b05 added algebraic support for coordinates Karma Riuk 2025-02-02 22:39:06 +01:00
  • bdd8011577 now support the castling sides of the FEN string Karma Riuk 2025-02-02 22:05:33 +01:00
  • 5549c77177 updated testing library Karma Riuk 2025-02-02 22:04:41 +01:00
  • be016dcbcc fixed type mismatch Karma Riuk 2025-02-02 22:04:31 +01:00
  • efd7bf6794 gave default values to the board fields because they were causing undefinied behaviour Karma Riuk 2025-02-02 22:04:04 +01:00
  • 81b24d3082 extended FEN support to include who's turn it is Karma Riuk 2025-02-02 21:39:33 +01:00
  • 497da2de8e updated assert equals to fail fast Karma Riuk 2025-02-02 21:39:02 +01:00
  • 0574a11b32 fixed minor bug Karma Riuk 2025-02-02 21:37:43 +01:00
  • 472f9e4c7c made CastleSide a normal enum again to use & v0.5.2 Karma Riuk 2025-02-02 21:28:31 +01:00
  • f5292fa6d7 added small comment Karma Riuk 2025-02-02 21:22:38 +01:00
  • 8a3a92f80f minor change Karma Riuk 2025-02-02 21:14:31 +01:00
  • b7ad7b3111 implemented king legal moves Karma Riuk 2025-02-02 21:14:14 +01:00
  • b329c41bea got rid of magic numbers Karma Riuk 2025-02-02 21:13:30 +01:00
  • 1625345f08 fixed board.cpp Karma Riuk 2025-02-02 20:28:50 +01:00
  • a790677bb7 implemented queen legal moves Karma Riuk 2025-02-02 20:28:41 +01:00
  • 703dcef59f implemented knight legal moves Karma Riuk 2025-02-02 20:24:42 +01:00
  • d74222c2f4 implemented rook legal moves Karma Riuk 2025-02-02 20:19:07 +01:00
  • 01c912435b implemented bishop legal moves Karma Riuk 2025-02-02 20:17:36 +01:00
  • 8bf164cb05 extracted coords to its own hpp Karma Riuk 2025-02-02 20:17:27 +01:00
  • e08dbb913e fixed board and pawn moves Karma Riuk 2025-02-02 19:49:21 +01:00
  • fea3f6c98a fixed signature Karma Riuk 2025-02-02 18:24:23 +01:00
  • da55f0085f implemented (partially) the pawn move Karma Riuk 2025-02-02 18:17:37 +01:00
  • 95327ec653 cleaned up main Karma Riuk 2025-02-02 18:17:19 +01:00
  • 1a4e33201e when loading a fen ref, i return the object and not a pointer Karma Riuk 2025-02-02 18:17:02 +01:00
  • d6baf1ee53 added main to gitignore Karma Riuk 2025-02-02 18:16:45 +01:00
  • 67e377bfde made some seperation of concerns Karma Riuk 2025-02-02 17:16:37 +01:00
  • 29453fbb14 implemented some stuff Karma Riuk 2025-02-02 17:13:55 +01:00
  • 585e392b6a created move struct Karma Riuk 2025-02-02 16:49:24 +01:00
  • d436c5a032 made stuff a tiny bit more compact Karma Riuk 2025-02-02 16:49:10 +01:00
  • 08c0a3b50b added test support to the makefile Karma Riuk 2025-02-02 16:37:59 +01:00
  • 0ae37a3eba did some stuff to make makefile work... it was painful Karma Riuk 2025-02-02 16:26:46 +01:00
  • c83129a0d5 added cpp gitignore Karma Riuk 2025-02-02 15:31:45 +01:00
  • acfa27c83e removed binary files Karma Riuk 2025-02-02 15:21:04 +01:00
  • 85a5bfa328 moved some stuff around Karma Riuk 2025-02-02 15:15:14 +01:00
  • 139a5c7d8f fixed missing imports Karma Riuk 2025-02-02 14:54:17 +01:00
  • 3a2988d351 fixed permissions of fields Karma Riuk 2025-02-02 14:53:17 +01:00
  • c758d1854f removed useless imports Karma Riuk 2025-02-02 14:52:47 +01:00
  • 53a0755547 extracted the assert equals to another file to have mulitple test files Karma Riuk 2025-02-02 14:52:13 +01:00
  • 4792daf127 cpp board can go back and forth from FEN v0.5.1 Karma Riuk 2025-02-02 14:50:44 +01:00
  • 947114877b moved everything related to python in the python folder v0.5.0 Karma Riuk 2025-02-02 13:20:59 +01:00
  • 166e1c7664 added some positions to test the move generation Karma Riuk 2025-02-02 13:18:25 +01:00
  • 84d73511d2 fixed a bunch of issues with the move generation Karma Riuk 2025-02-02 12:58:05 +01:00
  • 4bb068b2a5 added complete FEN support both for reading and writing Karma Riuk 2025-02-01 18:34:41 +01:00
  • 92e1ff26fc added pawn promotion Karma Riuk 2025-02-01 16:43:02 +01:00
  • c7884e227b made the initial board a memeber of the board module Karma Riuk 2025-02-01 10:37:02 +01:00
  • e6fafc8081 implemented en passant v0.4.0 Karma Riuk 2025-01-31 18:55:02 +01:00
  • 1be71bf203 fixed giga spelling mistake (it's castling right, not castling write) Karma Riuk 2025-01-31 18:27:44 +01:00
  • e862ab6b0b added comments to the make_move function Karma Riuk 2025-01-31 18:24:52 +01:00
  • 6c0819428e implemented checkmate v0.3.0 Karma Riuk 2025-01-31 18:19:27 +01:00
  • 496207861e implemented castling v0.2.0 Karma Riuk 2025-01-31 16:35:41 +01:00
  • 87e8e75c04 simplified moves, made them algebraic Karma Riuk 2025-01-31 16:35:09 +01:00
  • 13e3675665 fixed FEN reading for castling writes Karma Riuk 2025-01-31 16:33:56 +01:00
  • 2e27e7b703 implemented king moves (missing castles) Karma Riuk 2025-01-31 15:22:49 +01:00
  • d7863e0d81 added capturing circle around possible capture for legal moves Karma Riuk 2025-01-31 14:34:54 +01:00