Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Analyse position button #35

Open
Boom123bam opened this issue Apr 4, 2024 · 0 comments
Open

Suggestion: Analyse position button #35

Boom123bam opened this issue Apr 4, 2024 · 0 comments

Comments

@Boom123bam
Copy link

Boom123bam commented Apr 4, 2024

It would be nice to have a button that opens the analysis board of the current position in a new tab,
I think it would be fairly simple to implement, here is the link structure for lichess and chesscom

lichess = `https://lichess.org/analysis/standard/${fen}?color=${"white" || "black"}`
chesscom = `https://www.chess.com/analysis?fen=${fen}&flip=${true || false}&tab=analysis`

where fen is the current FEN and flip and color are determined depending on the side to play next

Hope this helps!

Edit: I think it may be possible to open the whole game in the current position, but I imagine that would be more work

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

No branches or pull requests

1 participant