title: Create game explorer with pgn (like lichess explorer)
body: <p>currently I am looking with python to do a failure &quot;ia&quot; which gives me the opening with the best success rate (using the grand master parts of the lichess database) with a minmax and by taking only the moves with at least 100 position already played so as not to fall on a 100% black success rate with 1 single game. I managed to do it with the lichess api, the problem is that when I request more than 3 depth, lichess blocks me because of spam generated on the api.</p>
  <p>I told myself that I was going to do the same thing but instead of using the lichess api, I was going to use a .pgn of grand masters parts and with the library &quot;chess&quot; I could do something similar but currently I am blocked on how to filter this file on by example &quot;e2-e4&quot; and have the success rate of each move and have a recursive function to explore this file.</p>
  <p>I can't find a solicitation through the chess-py doc and my googles searches don't come up with anything.</p>
  <p>Does someone have an idea ?</p>
  <p>api lichess : <a href="https://lichess.org/api#tag/Opening-Explorer" rel="nofollow noreferrer">https://lichess.org/api#tag/Opening-Explorer</a></p>
  <p>png file : <a href="https://odysee.com/@Toadofsky:b/Lichess-Elite-Database:b" rel="nofollow noreferrer">https://odysee.com/@Toadofsky:b/Lichess-Elite-Database:b</a></p>