Skip to content

Issue/20 e2e movement fix#21

Merged
dev-rkb merged 2 commits into
dev-rkb:mainfrom
rekabytes:issue/20-e2e-movement-fix
Jun 17, 2026
Merged

Issue/20 e2e movement fix#21
dev-rkb merged 2 commits into
dev-rkb:mainfrom
rekabytes:issue/20-e2e-movement-fix

Conversation

@rekabytes

Copy link
Copy Markdown
Contributor

No description provided.

Adds Playwright e2e coverage for all piece types and the multi-move
flow, and fixes a server-side bug where MakeMove rejected UCI strings
for piece moves (d1e2, e1g1, etc.) by trying to parse them as SAN.

The client builds move strings by concatenating source + destination
squares (UCI) and the server's validMoves encoder already returns
UCI, but MakeMove's decoder was AlgebraicNotation. SAN rejects 'd1e2'
because it expects a piece letter prefix. Switching MakeMove and
GetBotMove to UCINotation keeps the wire format consistent.

Also improves the bot: PSTs, mobility term, and random tie-break so it
plays non-knight opening moves (issue dev-rkb#4 follow-up).

Closes dev-rkb#20
Contributors were attempting 'git push dev-rkb' which fails with
authentication errors. The dev-rkb remote is the contributor's
personal fork and requires separate credentials. Use 'git push
origin' instead.
@dev-rkb dev-rkb merged commit a57e8e3 into dev-rkb:main Jun 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants