Commit Graph

41 Commits

Author SHA1 Message Date
e620e6f5cb Add bitboard test 2022-12-22 12:10:14 +01:00
db23a4c610 [BitBoard] Add kingAttacks method 2022-12-22 11:39:00 +01:00
4157c9200e [BitBoard] Add fills and direction methods 2022-12-22 11:18:23 +01:00
fbc1a5589a [Board] Reformat handlePawnDoubleAdvance 2022-12-22 10:43:04 +01:00
defd74fb63 [Board] Move DefinedBoards to BitBoard 2022-12-22 10:34:07 +01:00
c66a562886 Linting 2022-12-22 10:27:13 +01:00
84afaa2ada Move methods from Board to BitBoard 2022-12-22 01:35:37 +01:00
a1d4dadaa2 [BitBoard] improvements 2022-12-22 00:52:35 +01:00
d54ffbc7fa Refactor BitBoard 2022-12-22 00:15:13 +01:00
11c84472d4 [Move] Fix streaming with promotion 2022-12-21 21:05:05 +01:00
16c7fe2a34 [Board] Add method to print BitBoard 2022-12-21 20:04:22 +01:00
4671fec523 [Board] Implement enPassant move handling 2022-12-21 20:03:59 +01:00
c52f57293e [Board] Implement EnPassant handling 2022-12-21 19:59:56 +01:00
7f84154d30 [Board] Add check for Optional 2022-12-21 17:26:56 +01:00
274c29eabd [Board] Refactor and implement makeMove 2022-12-21 17:20:54 +01:00
0084bbf994 [Board] Implement castlingRights and enPassantSquare 2022-12-21 10:42:28 +01:00
123e473a53 [Piece] Add fromValue 2022-12-21 10:41:46 +01:00
c510b30f55 [Board] Refactor unsigned int -> unsigned 2022-12-21 10:30:46 +01:00
a78f3ee516 [Board] Implement stream operator 2022-12-21 10:11:16 +01:00
48fd630204 [Board] Implement turn 2022-12-21 08:48:53 +01:00
6bb0875eb3 [Board] Remove unnecessary macros 2022-12-21 08:48:37 +01:00
6ab8bbe40f [Board] Implement piece and setPiece 2022-12-21 00:25:10 +01:00
414009fe6b [Piece] Add int value functions for color and type 2022-12-21 00:24:48 +01:00
96a6188f0c [Piece] Fix warn 2022-12-21 00:24:37 +01:00
ced3c83b2c [Piece] Fix incorrect comparison == operator 2022-12-20 22:32:05 +01:00
2f8cebc2c4 [Piece] Refactor PieceType 2022-12-20 22:12:48 +01:00
4787e41c23 [Board] Format 2022-12-20 20:47:26 +01:00
ef431a1eb6 [Move] Implement < operator 2022-12-20 20:41:25 +01:00
66a18c4a73 [Move] Implement << operator 2022-12-18 21:01:59 +01:00
864b46be9e [Move] Implement Move::fromUci 2022-12-18 21:01:48 +01:00
428bf21c23 [Piece] Add Piece::pieceTypeFromSymbol 2022-12-18 21:01:02 +01:00
b282a6e494 [Move] Initial implementation 2022-12-18 18:23:05 +01:00
d9ed8e498d [Move] Lint 2022-12-18 17:59:34 +01:00
8613a92e2a [Square] Initial implementation 2022-12-18 17:58:43 +01:00
4bf3f2cec4 [Piece] Format 2022-12-18 17:25:08 +01:00
1bbb8a71d9 [Piece] Implement stream operator 2022-12-18 16:39:37 +01:00
2970fe1406 [Piece] Implement == operator 2022-12-18 16:39:37 +01:00
4eb596a9a0 [Piece] Implement Piece::fromSymbol 2022-12-18 16:39:37 +01:00
8091771f62 [Piece] Implement constructor and type and color getters 2022-12-18 16:39:37 +01:00
dd7b9f009b [Piece] Implement PieceColor ! operator 2022-12-18 16:39:33 +01:00
Job Noorman
9f05ab03c1 Add assignment 2022-10-27 13:07:24 +02:00