7 0
Sign in to rate

Chess interactive Pgn Template with Engine analysis

2.83MB. 0 audio & 0 images. Updated 2021-01-18.
The author has shared 8 other item(s).


A tutorial here: https://youtu.be/uxSP1YkfD0k This template has seen some updates however it realize on external media that has also been changed. this link will bring you the up to date media files if you want to replace the existing ones in your collections media folder. if you have multiple devices and use anki to sync media, you will need to delete the files and perform a sync on all devices, then copy the files and sync again. I imported 3500 tactics here https://ankiweb.net/shared/info/2047046995 using this template This deck uses lt PGN viewer to parse the puzzles and this chrome extension https://github.com/hxim/simplechessboard for analysis. note: Lt pgn viewer is a bit picky with the PGN text you give it so make sure you input the right format. for example one issue I have is when using Nibbler. nibbler outputs a format like: 1. f4 f6 2. e4 (2. d4) d5 * but it needs to be 2... d5 to work with these cards. Just saying that if the cards don't work check your pgn. also the puzzles will work better if you make the last move in that puzzle. There are three note types. one accepts a pgn string, the other you give a separate fen position followed by a move list and the final one you give a fen position to practice against stockfish 10. this should work on ankidroid however I don't have any apple products so I don't know about ankimobile enjoy NOTE. To get drills Template working on ankidroid, you must enable type answers on cards within settings also maybe someone knowledgeable out there could help me set up a template using this https://github.com/ornicar/chessground as it would be much nicer.

Sample (from 3 notes)

Cards are customizable! When this deck is imported into the desktop program, cards will appear as the deck author has made them. If you'd like to customize what appears on the front and back of a card, you can do so by clicking the Edit button, and then clicking the Cards button.
PGN [Event "?"][Site "?"][Date "2020.08.30"][Round "?"][White "White"][Black "Black"][Result "*"][FEN "rnbqkbnr/pppppppp/8/8/8/5N2/PPPPPPPP/RNBQKB1R b KQkq - 1 1"][SetUp "1"]1... g6 2. e4 {EV: 60.6%, N: 93.43%} 2... c5 {EV: 39.7%, N: 94.62%} 3. c4 {EV:60.3%, N: 50.43%} (3. d4 {EV: 60.2%, N: 32.95%}) (3. c3 {EV: 59.9%, N: 15.02%})*
Back This can be deleted. necissary to link media to deck upload
Tags chess::Media_Link
PGN [Event "?"][Site "?"][Date "2020.06.12"][Round "?"][White "White"][Black "Black"][Result "*"][FEN "r1bqkb1r/ppp1pppp/5n2/3P4/1np5/2N2N2/PP2PPPP/R1BQKB1R b KQkq - 1 6"][SetUp "1"]6. Qa4+ 6... c6 7. Qxb4 *
Tags chess

After the file is downloaded, double-click on it to open it in the desktop program.

At this time, it is not possible to add shared decks directly to your AnkiWeb account - they need to be added from the desktop then synchronized to AnkiWeb.


on 1608939593
I really loved this add-on when I used it on my previous computer. I just switched to a new Mac though and now I'm getting an error message:
Invalid path: _problemboard.html?resizable=yes&Init="+FEN+"&ApplyPgnMoveText="+PGN+"&RotateBoard=1

Any ideas as to what went wrong?

Thanks so much!

edit: Thanks for your quick response! That worked perfectly! I'm off to become a chess master now.
Comment from author
thanks for letting me know, I just found myself having this error, It seems to be an issue with the new version of anki not liking the way I load iframes, I hadn't updated in a while due to addons so I wasn't aware. if/when I figure out how to fix it I will update the template, In the meantime the quickest fix would be to download the latest stable version anki 2.1.35

edit: ok so after some testing, it seems to be an issue with using URL parameters with a query string with local HTML files, not really sure if there is a fix for this so I will have to open an issue.

edet2: fixed (though not sure why this approach works and the old one doesn't. No one responded to my issue)
on 1607611294
The add on is really great, but a bit cumbersome to create cards from scratch as the FEN and PGN need to be edited to fit the format. I tried working through the tactics deck that you included, but I couldn't see the logic in many of the cards. A tutorial would be greatly appreciated (I know you are working on it). Also, if we find PGN decks including instructions to do a bulk import would be awesome!
Comment from author
A quick way to fix the FEN and PGN is to load them into a program like Arena or Fritz. This will fix the formatting issues I find, though keep in mind, not every program will output a format that Lt-PGN-Viewer likes (For instance I had to modify my copy of nibbler so that the format worked for this note type). I still intend to make that tutorial, Though I'm working full time until Tuesday or Wednesday, I will try to upload something on my next day off.

If you can find me a PGN resource, then I can do the importing.
on 1607564389
Do you mind telling me how or would you be so kind as to make cards from Lichess practice tab like queen and king mate, or else show a video on how to create a scenario and essentially play against the engine?
I would love to see a tutorial like you suggested!

Edit: Thanks for the quick reply. I was able to figure out doing that for the old engine card. I am having trouble though on creating openings. When I get my card made and try to make the first move it pulls the piece back to where it began like I made the wrong move. If I flip the card and cycle through the move list though it is correct...
Comment from author
Hi, so they have me working all day until at least Tuesday, so you will have to wait a bit longer for that tutorial I'm afraid.

So about that issue, you are having, I was unable to replicate it, If you could send me exactly what you are inputting into the fields I'm sure I'd be able to solve it.

If you use Reddit, you can message me on that (u/Towel_Sniffer). I will probably respond quicker that way as I will get notified unlike here.
on 1607307298
on 1605894900
great work thank you
on 1605831005
Thank you so much! It works great on iOS as well.
Comment from author
Awesome thanks for letting me know.
on 1600839425
Thank you! It makes me want to learn chess again.