160 Commits

Author SHA1 Message Date
Karma Riuk
0ae37a3eba did some stuff to make makefile work... it was
painful
2025-02-02 16:26:46 +01:00
Karma Riuk
c83129a0d5 added cpp gitignore 2025-02-02 15:31:45 +01:00
Karma Riuk
acfa27c83e removed binary files 2025-02-02 15:21:04 +01:00
Karma Riuk
85a5bfa328 moved some stuff around 2025-02-02 15:15:14 +01:00
Karma Riuk
139a5c7d8f fixed missing imports
Some checks are pending
pre-release / Pre Release (push) Waiting to run
2025-02-02 14:54:17 +01:00
Karma Riuk
3a2988d351 fixed permissions of fields 2025-02-02 14:53:17 +01:00
Karma Riuk
c758d1854f removed useless imports 2025-02-02 14:52:47 +01:00
Karma Riuk
53a0755547 extracted the assert equals to another file to
have mulitple test files
2025-02-02 14:52:13 +01:00
Karma Riuk
4792daf127 cpp board can go back and forth from FEN
Some checks failed
pre-release / Pre Release (push) Waiting to run
tagged-release / Tagged Release (push) Has been cancelled
v0.5.1
2025-02-02 14:50:44 +01:00
Karma Riuk
947114877b moved everything related to python in the python
Some checks failed
pre-release / Pre Release (push) Waiting to run
tagged-release / Tagged Release (push) Has been cancelled
folder
v0.5.0
2025-02-02 13:20:59 +01:00
Karma Riuk
166e1c7664 added some positions to test the move generation 2025-02-02 13:18:25 +01:00
Karma Riuk
84d73511d2 fixed a bunch of issues with the move generation 2025-02-02 12:58:05 +01:00
Karma Riuk
4bb068b2a5 added complete FEN support both for reading and writing 2025-02-01 18:34:41 +01:00
Karma Riuk
92e1ff26fc added pawn promotion 2025-02-01 16:43:02 +01:00
Karma Riuk
c7884e227b made the initial board a memeber of the board
Some checks failed
pre-release / Pre Release (push) Has been cancelled
module
2025-02-01 10:37:02 +01:00
Karma Riuk
e6fafc8081 implemented en passant
Some checks failed
pre-release / Pre Release (push) Waiting to run
tagged-release / Tagged Release (push) Has been cancelled
v0.4.0
2025-01-31 18:55:02 +01:00
Karma Riuk
1be71bf203 fixed giga spelling mistake (it's castling right, not castling write) 2025-01-31 18:27:44 +01:00
Karma Riuk
e862ab6b0b added comments to the make_move function 2025-01-31 18:24:52 +01:00
Karma Riuk
6c0819428e implemented checkmate
Some checks failed
pre-release / Pre Release (push) Waiting to run
tagged-release / Tagged Release (push) Has been cancelled
v0.3.0
2025-01-31 18:20:12 +01:00
Karma Riuk
496207861e implemented castling
Some checks failed
pre-release / Pre Release (push) Waiting to run
tagged-release / Tagged Release (push) Has been cancelled
v0.2.0
2025-01-31 16:35:41 +01:00
Karma Riuk
87e8e75c04 simplified moves, made them algebraic 2025-01-31 16:35:29 +01:00
Karma Riuk
13e3675665 fixed FEN reading for castling writes 2025-01-31 16:33:56 +01:00
Karma Riuk
2e27e7b703 implemented king moves (missing castles) 2025-01-31 15:22:49 +01:00
Karma Riuk
d7863e0d81 added capturing circle around possible capture for
legal moves
2025-01-31 14:34:54 +01:00
Karma Riuk
a3b7df4e4c minor fix again 2025-01-31 14:28:18 +01:00
Karma Riuk
806a4a7f65 minor fix 2025-01-31 14:09:35 +01:00
Karma Riuk
052f815ee1 we have nice looing gui now
Some checks failed
pre-release / Pre Release (push) Waiting to run
tagged-release / Tagged Release (push) Has been cancelled
v0.1.1
2025-01-31 14:08:21 +01:00
Karma Riuk
c14a8c83b3 WE CAN FINALLY PLAY THE GAME. Made controller
Some checks failed
pre-release / Pre Release (push) Waiting to run
tagged-release / Tagged Release (push) Has been cancelled
working
v0.1.0
2025-01-31 11:39:23 +01:00
Karma Riuk
ac85f3e6d3 added controller to model view controller
Some checks failed
pre-release / Pre Release (push) Waiting to run
tagged-release / Tagged Release (push) Has been cancelled
v0.0.5
2025-01-31 10:52:25 +01:00
Karma Riuk
ddfb95176b fixed import issue with the queen 2025-01-31 10:52:02 +01:00
Karma Riuk
bb0a3266c7 implemented queen legal moves
Some checks failed
pre-release / Pre Release (push) Waiting to run
tagged-release / Tagged Release (push) Has been cancelled
v0.0.4
2025-01-30 17:12:53 +01:00
Karma Riuk
aabbaa83a8 again extracted some logic, implemented rook legal
moves
2025-01-30 17:11:36 +01:00
Karma Riuk
96b9b3db86 extracted some logic to the piece class and
implemented the knights legal moves
2025-01-30 17:07:50 +01:00
Karma Riuk
6b0a134230 fixed more colour issues 2025-01-30 16:56:44 +01:00
Karma Riuk
e95caa0015 implemented bishop's possible moves
Some checks are pending
pre-release / Pre Release (push) Waiting to run
2025-01-30 11:48:45 +01:00
Karma Riuk
bb0b8cdd27 imported colour also in gui 2025-01-30 11:48:27 +01:00
Karma Riuk
55ba824b13 fixed circular dependency 2025-01-30 11:48:03 +01:00
Karma Riuk
16d107e5ea fixed the colour that was extracted 2025-01-30 11:45:47 +01:00
Karma Riuk
baa09135ee made is_capturing a kwarg 2025-01-30 10:46:06 +01:00
Karma Riuk
eae87f353b now the legal moves of the pawn actually returns
moves
2025-01-30 10:45:43 +01:00
Karma Riuk
362b0e157d annotated the legal moves function better 2025-01-30 10:45:24 +01:00
Karma Riuk
c900ebcfa0 extracted the colour to an enum 2025-01-30 10:45:12 +01:00
Karma Riuk
c3e46017eb now the legal moves function actually returns a
list of moves
2025-01-30 10:28:41 +01:00
Karma Riuk
324484aa31 created the move class 2025-01-30 09:41:46 +01:00
Karma Riuk
eca7a6ae0c now black pawns can also go forward 2025-01-29 16:59:13 +01:00
Karma Riuk
ffe76b161a minor fixes 2025-01-29 16:55:54 +01:00
Karma Riuk
06f78487d9 the FEN notation can be read to create a position
Some checks failed
pre-release / Pre Release (push) Waiting to run
tagged-release / Tagged Release (push) Has been cancelled
v0.0.3
2025-01-29 16:50:08 +01:00
Karma Riuk
51648a5960 fixed some issues, now showing legal moves of
Some checks failed
pre-release / Pre Release (push) Waiting to run
tagged-release / Tagged Release (push) Has been cancelled
selected piece
v0.0.2
2025-01-29 15:02:52 +01:00
Karma Riuk
331c475c2a made members of enum better 2025-01-29 15:02:31 +01:00
Karma Riuk
28ef132944 created basic gui 2025-01-29 14:46:04 +01:00