The only awkward part now is that chessground doesn't have a promotion UI by default when you move a pawn to the last rank, so we need to add that. Right now it just assumes auto-queen but that's especially dopy since it doesn't actually even queen lol and you just get left with a pawn on the back rank.
The only awkward part now is that chessground doesn't have a promotion UI by default when you move a pawn to the last rank, so we need to add that. Right now it just assumes auto-queen but that's especially dopy since it doesn't actually even queen lol and you just get left with a pawn on the back rank.
Here's one that reproduces it: http://localhost:3030/tactics/single/yxW8g