Skip to content

recognize 'takes' when dest square is empty (en passant) - #21399

Open
yafred wants to merge 3 commits into
lichess-org:masterfrom
yafred:fix-21391
Open

recognize 'takes' when dest square is empty (en passant)#21399
yafred wants to merge 3 commits into
lichess-org:masterfrom
yafred:fix-21391

Conversation

@yafred

@yafred yafred commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

fixes #21391

2026-08-24.17-39-14.mp4

Details (if needed)

image

line 432 supports en passant using the target square (for example: g6 in the video)

line 435 support 'takes' but only if the destination square is not empty (not the case with en passant) so we need to support a pawn going sideway to an empty square

When testing the fix, there is still disambiguation but only with one arrow ... this is likely due to my not so great accent

Comment thread ui/voice/src/move/voice.move.ts Outdated
Tested

Co-authored-by: Jonathan Gamble <gamblej@gmail.com>
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.

Voice input does not recognize en passant as legal move

2 participants