ivarcode / schackmatt

chess website
http://www.schackmatt.net/
8 stars 5 forks source link

ran into a bug with promotion on a branch (~~could not recreate~~ UPDATE recreated) #155

Open ivarcode opened 3 years ago

ivarcode commented 3 years ago

Describe the bug a promotion menu came up in the center of the board from rank four, black orientation, white moves king to fourth rank

To Reproduce Steps to reproduce the behavior: unclear

Expected behavior Fully test promotion. I am sure this will come up again.

ivarcode commented 3 years ago

UPDATE

Try to move an opponents piece (and get the "you can't move that piece" error. THEN immediately try and click+drag a legal move. It'll likely recreate the issue.

Done for now, revisiting this soon.