Get/Detect Opening from a game state or PGN
I have been messing around with this for a project I am working on and I think it would be valuable to have a way to use this to detect the opening based on the match as it has been played.
Do you think this is something that would be possible? I don't think I see this capability by any other NPM package and it could be a nice feature to add to an already great tool.
Thanks!
@MatthewMaginniss - this is a cool feature idea! I need to crack open my book of chess openings... now to figure out where I placed it. This is a cool idea!
Nice! Yeah, I think I actually implemented this in a way on my local environment for testing. I used these TSVs to compile them in to a single PGN file (attached here as a .txt file since github doesn't allow PGN) and have been using it with good success but my solution isn't the most efficient. Figured it might help to have the compiled ECO table that lichess uses.