Skip to content

Conversation

@johndoknjas
Copy link
Contributor

@johndoknjas johndoknjas commented Jan 26, 2026

This, along with lichess-org/lila-ws#795, will give us the means to display pocket info for each side in a featured game.

Another approach is adding a 9th field to the board fen, but I'm unsure how many subscribers there are (both here and for the lila-ws move update socket), and if any depend on the board fen being in the current 8-field format.

@ornicar
Copy link
Collaborator

ornicar commented Jan 26, 2026

This requires an additional hack on lila-ws.

But what I'm most concerned about is what will follow, mostly the CSS to add pockets do mini-boards.

I don't think the overall maintenance cost, all things considered, of adding adding crazyhouse pocket infos on miniboards, is acceptable.

@johndoknjas
Copy link
Contributor Author

@ornicar Here's some unpolished frontend code I had for displaying the pockets. I do agree it adds complexity, so whether it's worth it 🤷. I would note though that a crazyhouse position depends heavily on the pockets of each player, so not knowing their contents largely prevents one from following along.

@ornicar
Copy link
Collaborator

ornicar commented Jan 27, 2026

ugh yeah that's a lot of code to maintain, and I expect more would be needed to bring pockets to all mini-boards, including hairy CSS layout grid hacks and fragile responsive rules

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