Open Mansour-J opened 7 months ago
I have been playing around with this and checking the behaviour. What is the definition of puzzle in this one?
Below I made two pgn by myself and this generator was not able to make a puzzle out of any of them.
I copied over some pgn header from other pgn so the app doesn't complain about the pgn header when parsing - ignore the pgn headers
Example of a missed tactic or opportunity:
[Event "Rated Blitz game"]
[Site "https://lichess.org"]
[Date "2021.06.28"]
[White "genassien"]
[Black "Freiheitskaempfer"]
[Result "1-0"]
[UTCDate "2021.06.28"]
[UTCTime "18:21:43"]
[WhiteElo "2370"]
[BlackElo "2441"]
[WhiteRatingDiff "+7"]
[BlackRatingDiff "-7"]
[WhiteTitle "FM"]
[BlackTitle "FM"]
[Variant "Standard"]
[TimeControl "300+0"]
[ECO "C24"]
[Opening "Bishop's Opening: Berlin Defense"]
[Termination "Time forfeit"]
[Annotator "lichess.org"]
1. e4 e5 2. Bc4 b6 3. Qh5 g6 4. Qf3 Nf6 5. Ne2
Example of a right move when tactical opportunity exists:
[Event "Rated Blitz game"]
[Site "https://lichess.org"]
[Date "2021.06.28"]
[White "genassien"]
[Black "Freiheitskaempfer"]
[Result "1-0"]
[UTCDate "2021.06.28"]
[UTCTime "18:21:43"]
[WhiteElo "2370"]
[BlackElo "2441"]
[WhiteRatingDiff "+7"]
[BlackRatingDiff "-7"]
[WhiteTitle "FM"]
[BlackTitle "FM"]
[Variant "Standard"]
[TimeControl "300+0"]
[ECO "C24"]
[Opening "Bishop's Opening: Berlin Defense"]
[Termination "Time forfeit"]
[Annotator "lichess.org"]
1. e4 e5 2. Bc4 b6 3. Qh5 g6 4. Qxe5+ Qe7 5. Qxh8 Nf6 6. d3
Hi first, I wanted to say this is pretty cool that you tried to create a de-coupled puzzle generator that is not tied to the lichess way of generating puzze and applying so many filter(having the game already being analyzed, tier and rating system and etc)....
I failed to create a puzzle out of below game. I still see a lof refrence and if statements based on the tier/rating system that was used originally in the base repository from
ornicar
could that be the issue?