Commit Graph

28 Commits

Author SHA1 Message Date
Cozma Rares fb71ab2fec feat: implement 'insufficientMaterial' 2023-05-30 00:34:11 +03:00
Cozma Rares 83fefbc71a fix: tests and attacked squares 2023-05-01 02:37:43 +03:00
Cozma Rares 77c58eae1e feat: generate moves based on turn 2023-05-01 01:41:33 +03:00
Cozma Rares c45c299b68 feat: implement 'isCheck', 'isCheckmate' and 'isStalemate' 2023-05-01 00:54:42 +03:00
Cozma Rares 8f47ce2ef7 feat: don't include king moves that put him in check 2023-05-01 00:42:04 +03:00
Cozma Rares 105a80d0f1 test: add tests for queen and king moves 2023-04-30 18:53:57 +03:00
Cozma Rares b8b9866032 test: add tests for rook moves 2023-04-30 18:16:31 +03:00
Cozma Rares 522afaa155 test: add missing tests for pawn moves 2023-04-17 23:11:22 +03:00
Cozma Rares 21b6de8d21 test: add tests for bishop moves 2023-04-17 23:03:21 +03:00
Cozma Rares da29d2623a test: add tests for knight moves 2023-04-17 13:36:55 +03:00
Cozma Rares 1bab968d15 fix: tests for pawn moves, rank function and object, generatePawnMoves 2023-04-16 22:53:58 +03:00
Cozma Rares addd122887 test: add tests for simple pawn moves 2023-04-16 22:53:28 +03:00
Cozma Rares 9c296d3429 feat: generate legal moves for a square 2023-04-15 02:10:46 +03:00
Cozma Rares d5bfe6f5b2 fix: getFEN 2023-04-15 00:40:07 +03:00
Cozma Rares 6988e65e44 test: add tests for getFEN 2023-04-15 00:38:41 +03:00
Cozma Rares 35fac25bf2 test: add more tests for loadFEN 2023-04-15 00:28:42 +03:00
Cozma Rares 1f15540d6f feat: add ascii representation of board 2023-04-15 00:22:00 +03:00
Cozma Rares d74ca3dbcb test: add tests 2023-04-07 01:51:43 +03:00
Cozma Rares 3fc3502826 refactor: add chess builder class 2023-04-07 01:50:55 +03:00
Cozma Rares e154d9fdb2 feat: get FEN of current position 2023-04-07 00:18:06 +03:00
Cozma Rares 35361a5835 feat: load chess board from FEN 2023-04-05 19:10:15 +03:00
Cozma Rares c04d78e05a refactor: just throw an error from validateFEN 2023-04-05 17:55:34 +03:00
Cozma Rares 6c51df3f06 feat: generate pawn moves 2023-04-05 17:39:30 +03:00
Cozma Rares 01e808097a fix: correct piece offsets 2023-04-05 16:13:11 +03:00
Cozma Rares a67544c2aa test: add vitest and fix validateFEN 2023-04-05 14:29:58 +03:00
Cozma Rares a5c27883f7 feat: add validateFEN 2023-04-04 23:57:26 +03:00
Cozma Rares b0eb98901a chore: add constants and basic outline of the engine 2023-04-03 23:31:26 +03:00
Cozma Rares ddc4ec100d initial commit 2023-04-01 19:36:29 +03:00