Skip to content

Conversation

@allanjoseph98
Copy link
Member

  • Currently, the lines drawn for middlegame and endgame are offset by 1. Scalachess starts counting plies at 1 but highcharts lines starts indexing at 0. You can verify this by counting the number of pieces (6 or 10)
  • Add a line for the previous phase at the beginning of the chart for partial pgns/ "from positions". I made this study to test them.
  • Code golf

@allanjoseph98 allanjoseph98 marked this pull request as draft July 12, 2023 21:16
@ornicar
Copy link
Collaborator

ornicar commented Jul 12, 2023

looking good, let me know when it's ready for review/merge

@allanjoseph98 allanjoseph98 marked this pull request as ready for review July 13, 2023 04:49
@allanjoseph98 allanjoseph98 marked this pull request as draft July 13, 2023 06:05
Gets messy with fens that don't include ply count
@allanjoseph98 allanjoseph98 marked this pull request as ready for review July 13, 2023 07:55
@ornicar ornicar merged commit 662c85c into lichess-org:master Jul 13, 2023
@allanjoseph98 allanjoseph98 deleted the division branch July 15, 2023 11:18
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