48 Commits

Author SHA1 Message Date
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
Karma Riuk
f7c0dcbd4b final update (spoiler: no) of the github workflow
Some checks are pending
pre-release / Pre Release (push) Waiting to run
2025-01-29 12:11:36 +01:00
Karma Riuk
8f156616f0 pawns have their legal move list
Some checks failed
pre-release / Pre Release (push) Waiting to run
tagged-release / Tagged Release (push) Has been cancelled
v0.0.1
2025-01-29 12:08:03 +01:00
Karma Riuk
a2ebb314eb pieces now know if they are white or black 2025-01-29 12:07:26 +01:00
Karma Riuk
2363b39484 github workflow should work now...
Some checks are pending
pre-release / Pre Release (push) Waiting to run
2025-01-29 11:57:33 +01:00
Karma Riuk
60abfc794f updated gitbuh workflow (again)
Some checks are pending
pre-release / Pre Release (push) Waiting to run
2025-01-29 11:54:36 +01:00
Karma Riuk
4b3be20749 updated github action
Some checks are pending
pre-release / Pre Release (push) Waiting to run
2025-01-29 11:52:27 +01:00
Karma Riuk
455fae8ad1 added .github for automatic releases
Some checks are pending
pre-release / Pre Release (push) Waiting to run
2025-01-29 11:49:44 +01:00
Karma Riuk
e2f6b5c8d8 basic blocks + baisc view 2025-01-28 14:45:23 +01:00
Karma Riuk
4493e3a110 Added gitignore 2025-01-28 11:38:21 +01:00
Karma Riuk
4fb7724118 initial commit 2025-01-28 11:33:28 +01:00