Beautiful interactive chess flashcards from a pgn file.

This page summarizes the projects mentioned and recommended in the original post on /r/Anki

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • lila

    ♞ lichess.org: the forever free, adless and open source chess server ♞

  • Hi! Hope you are having a good day! So, some hours ago I saw a post about chess flashcards here on the sub, and felt like I maybe should drop this alternative procedure. Yes, this is even a new account, I registered just for this. In my opinion, this method, while a bit more tedious, yields better results. (not hating, just trying to provide an alternative and put knowledge out there) You know how lichess provides their tactics database for free? Well, with a bit of work you can turn all of those tactics into a lifetime supply of training tactics that you can import into Anki. Flashcards look gorgeous, are interactive and even use the same interface as the lichess playing board. So you’ll basically recreate lichess inside your anki, with the obvious benefits of flashcards. (It works on Mac, Windows, mobile, iPad, and Android) # You will need: 1. lichess database of free tactics, which you can get here (https://database.lichess.org/#puzzles) . The format is a bit messy, but if you know how to use a san library for making the stuff readable, you should be good to go and have an updated database of tactics. If you prefer the quick way, maybe just use this one pgn that someone posted on reddit. It includes 100k lichess tactics. I think they should be enough for a week or two ahaha. Obviously, you may actually use any pgn database of chess tactics. For example, if you have those “500 Tactics for Students” or “999 training positions for experts” kind of pgns, they should work all the same. If you want tactics to be sorted by Theme "Advanced Pawn", "Backrank" "Deflection" , etc, that is also possible, but way more tedious. Im working on such a creating such a deck. I'll probably be using these categories to tag the anki deck. 2. If you prefer to train tactics not according to themes but as "arising from your favorite openings", refer to this blog, where someone diligently categorized tactics into ECO code and provides pgn downloads. Example of use cases: "I wanna train tactics arising from Sicilian Najdorf", or "wanna get a feel for Pirc Defense and make sure I familiarize myself with the tricks" ​ ​ 1. An interactive chess template for anki, which you can get here. Early versions of this template actually were posted a while back on reddit, although I had no luck finding the post again. 2. If you know regex, you can use regex for certain parts of the procedure. However. If not, you will still be able to do it all the same, via the following website, which will allow you to create anki ready files: (https://textmechanic.com/text-tools/basic-text-tools/addremove-line-breaks/) # Procedure. 1. Preparing the PGN When you open a pgn file, you should have something like this… [Event "https://lichess.org/FLmpZbTm/black#52"] [White "PuzzleId: 000h7"] [Black "2291"] [BlackElo "83"] [FEN "3q1rk1/1pp3pp/5p1P/4pPP1/rb1pP3/3P1N2/b1P1B3/2QK2RR b - - 7 26"] 26...Qa8 {[#]} {[%tqu "En","","","","g5g6","",10]} 27.g6 hxg6 28.hxg7 {advancedPawn crushing kingsideAttack middlegame quietMove short} * [Event "https://lichess.org/drahwNdj#95"] [White "PuzzleId: 004LZ"] [Black "1522"] [BlackElo "94"] [FEN "8/7R/5p2/p7/7P/2p5/3k2r1/1K2N3 w - - 3 48"] 48.Nxg2 {[#]} {[%tqu "En","","","","c3c2","",10]} c2+ 49.Ka2 c1=Q 50.Rd7+ Ke2 {advancedPawn crushing defensiveMove deflection endgame long promotion} * [Event "https://lichess.org/JBQDYKyD/black#100"] [White "PuzzleId: 00Af3"] [Black "1318"] [BlackElo "100"] [FEN "8/8/2B2p1p/P4Pp1/3p1kP1/1b1Pb2P/8/4K3 b - - 0 50"] 50...Kg3 {[#]} {[%tqu "En","","","","a5a6","",10]} 51.a6 Bc4 52.a7 {advancedPawn bishopEndgame crushing endgame short} * However, in order for this procedure to work, we need to have each pgn listed as one single line. Like: [Event "https://lichess.org/FLmpZbTm/black#52"][White "PuzzleId: 000h7"][Black "2291"][BlackElo "83"][FEN "3q1rk1/1pp3pp/5p1P/4pPP1/rb1pP3/3P1N2/b1P1B3/2QK2RR b - - 7 26"]26...Qa8 {[#]} {[%tqu "En","","","","g5g6","",10]} 27.g6 hxg6 28.hxg7 {advancedPawn crushing kingsideAttack middlegame quietMove short} * [Event "https://lichess.org/drahwNdj#95"][White "PuzzleId: 004LZ"][Black "1522"][BlackElo "94"][FEN "8/7R/5p2/p7/7P/2p5/3k2r1/1K2N3 w - - 3 48"]48.Nxg2 {[#]} {[%tqu "En","","","","c3c2","",10]} c2+ 49.Ka2 c1=Q 50.Rd7+ Ke2 {advancedPawn crushing defensiveMove deflection endgame long promotion} * [Event "https://lichess.org/JBQDYKyD/black#100"][White "PuzzleId: 00Af3"][Black "1318"][BlackElo "100"][FEN "8/8/2B2p1p/P4Pp1/3p1kP1/1b1Pb2P/8/4K3 b - - 0 50"]50...Kg3 {[#]} {[%tqu "En","","","","a5a6","",10]} 51.a6 Bc4 52.a7 {advancedPawn bishopEndgame crushing endgame short} * To achieve that, you can use regex if you know how to. Regex and a script makes the process a breeze. However, this is meant to be an easy procedure so, if you know no scripting or regex whatsoever, refer to site ((https://textmechanic.com/text-tools/basic-text-tools/addremove-line-breaks/) where you can first delete all the line breaks from your pgn file. Afterwards, you download the result, and input it again, but now you create line breaks either where every game starts, (in this case [Event ) , or where it ends, (in this case *). That should give you a game per line. Download the second file as a txt. That file is ready to import into anki. 2. Import into Anki Easiest way is to install this anki template first. This consists of two steps. Installing the deck as any other deck, and then copying manually the unzipped contents of media into the anki collection media folder. Both the deck and media (a.k.a. pieces of the chessboard) are available here on the GitHub repo. (The installing of the template and pieces is only done once) If in doubt, read the installing instructions on the main page of the repo. Just remember that manually copy pasting the media into media folder is a vital step. Once you are sure the template works properly, you can proceed to create your own cards. Template comes with a set of a few tactics, but since that set has been on the internet for a while now, chances are you already have gone through it. Anyway, if you create your own cards, the sky is the limit. I did this with the pgn of a book on endgames, another one on repertoire, another one on tactics, etc. With even some more work, you may actually export your lichess or chess.com mistakes into a deck, but that’s another process. Anyway. Once the template is installed correctly and media placed, then create a new deck for your cards. Then on anki´s home page click on import file, and select the second file you downloaded from the website (the one with one game per line). You may have to choose ¨|¨ or any other weird character that isn’t used anywhere on the file as separator , so that anki only detects one field per card. Map the contents to the field PGN using the chess card your move. Be sure to Import the file into the empty deck you just created. If everything was done correctly, you are ready to play. Procedure a bit long, but definitely yields great results. Doesn’t rely on add-ons, and it works on all platforms. Particularly on iPad, the experience is fantastic. But everywhere, on android, windows, Mac, etc, It looks gorgeous. It’s simple. Its powerful. Acknowledgements. Thanks to both lichess and the creator of the chess template on github, for making the chess and anki communities a better place. As a result of seeing someone else post something here on the subreddit about chess cards, Im just providing the tutorial with this alternative procedure. Hope you find the tools useful.

  • Anki-Chess-2.0

    An interactive chess template for anki.

  • Hi! Hope you are having a good day! So, some hours ago I saw a post about chess flashcards here on the sub, and felt like I maybe should drop this alternative procedure. Yes, this is even a new account, I registered just for this. In my opinion, this method, while a bit more tedious, yields better results. (not hating, just trying to provide an alternative and put knowledge out there) You know how lichess provides their tactics database for free? Well, with a bit of work you can turn all of those tactics into a lifetime supply of training tactics that you can import into Anki. Flashcards look gorgeous, are interactive and even use the same interface as the lichess playing board. So you’ll basically recreate lichess inside your anki, with the obvious benefits of flashcards. (It works on Mac, Windows, mobile, iPad, and Android) # You will need: 1. lichess database of free tactics, which you can get here (https://database.lichess.org/#puzzles) . The format is a bit messy, but if you know how to use a san library for making the stuff readable, you should be good to go and have an updated database of tactics. If you prefer the quick way, maybe just use this one pgn that someone posted on reddit. It includes 100k lichess tactics. I think they should be enough for a week or two ahaha. Obviously, you may actually use any pgn database of chess tactics. For example, if you have those “500 Tactics for Students” or “999 training positions for experts” kind of pgns, they should work all the same. If you want tactics to be sorted by Theme "Advanced Pawn", "Backrank" "Deflection" , etc, that is also possible, but way more tedious. Im working on such a creating such a deck. I'll probably be using these categories to tag the anki deck. 2. If you prefer to train tactics not according to themes but as "arising from your favorite openings", refer to this blog, where someone diligently categorized tactics into ECO code and provides pgn downloads. Example of use cases: "I wanna train tactics arising from Sicilian Najdorf", or "wanna get a feel for Pirc Defense and make sure I familiarize myself with the tricks" ​ ​ 1. An interactive chess template for anki, which you can get here. Early versions of this template actually were posted a while back on reddit, although I had no luck finding the post again. 2. If you know regex, you can use regex for certain parts of the procedure. However. If not, you will still be able to do it all the same, via the following website, which will allow you to create anki ready files: (https://textmechanic.com/text-tools/basic-text-tools/addremove-line-breaks/) # Procedure. 1. Preparing the PGN When you open a pgn file, you should have something like this… [Event "https://lichess.org/FLmpZbTm/black#52"] [White "PuzzleId: 000h7"] [Black "2291"] [BlackElo "83"] [FEN "3q1rk1/1pp3pp/5p1P/4pPP1/rb1pP3/3P1N2/b1P1B3/2QK2RR b - - 7 26"] 26...Qa8 {[#]} {[%tqu "En","","","","g5g6","",10]} 27.g6 hxg6 28.hxg7 {advancedPawn crushing kingsideAttack middlegame quietMove short} * [Event "https://lichess.org/drahwNdj#95"] [White "PuzzleId: 004LZ"] [Black "1522"] [BlackElo "94"] [FEN "8/7R/5p2/p7/7P/2p5/3k2r1/1K2N3 w - - 3 48"] 48.Nxg2 {[#]} {[%tqu "En","","","","c3c2","",10]} c2+ 49.Ka2 c1=Q 50.Rd7+ Ke2 {advancedPawn crushing defensiveMove deflection endgame long promotion} * [Event "https://lichess.org/JBQDYKyD/black#100"] [White "PuzzleId: 00Af3"] [Black "1318"] [BlackElo "100"] [FEN "8/8/2B2p1p/P4Pp1/3p1kP1/1b1Pb2P/8/4K3 b - - 0 50"] 50...Kg3 {[#]} {[%tqu "En","","","","a5a6","",10]} 51.a6 Bc4 52.a7 {advancedPawn bishopEndgame crushing endgame short} * However, in order for this procedure to work, we need to have each pgn listed as one single line. Like: [Event "https://lichess.org/FLmpZbTm/black#52"][White "PuzzleId: 000h7"][Black "2291"][BlackElo "83"][FEN "3q1rk1/1pp3pp/5p1P/4pPP1/rb1pP3/3P1N2/b1P1B3/2QK2RR b - - 7 26"]26...Qa8 {[#]} {[%tqu "En","","","","g5g6","",10]} 27.g6 hxg6 28.hxg7 {advancedPawn crushing kingsideAttack middlegame quietMove short} * [Event "https://lichess.org/drahwNdj#95"][White "PuzzleId: 004LZ"][Black "1522"][BlackElo "94"][FEN "8/7R/5p2/p7/7P/2p5/3k2r1/1K2N3 w - - 3 48"]48.Nxg2 {[#]} {[%tqu "En","","","","c3c2","",10]} c2+ 49.Ka2 c1=Q 50.Rd7+ Ke2 {advancedPawn crushing defensiveMove deflection endgame long promotion} * [Event "https://lichess.org/JBQDYKyD/black#100"][White "PuzzleId: 00Af3"][Black "1318"][BlackElo "100"][FEN "8/8/2B2p1p/P4Pp1/3p1kP1/1b1Pb2P/8/4K3 b - - 0 50"]50...Kg3 {[#]} {[%tqu "En","","","","a5a6","",10]} 51.a6 Bc4 52.a7 {advancedPawn bishopEndgame crushing endgame short} * To achieve that, you can use regex if you know how to. Regex and a script makes the process a breeze. However, this is meant to be an easy procedure so, if you know no scripting or regex whatsoever, refer to site ((https://textmechanic.com/text-tools/basic-text-tools/addremove-line-breaks/) where you can first delete all the line breaks from your pgn file. Afterwards, you download the result, and input it again, but now you create line breaks either where every game starts, (in this case [Event ) , or where it ends, (in this case *). That should give you a game per line. Download the second file as a txt. That file is ready to import into anki. 2. Import into Anki Easiest way is to install this anki template first. This consists of two steps. Installing the deck as any other deck, and then copying manually the unzipped contents of media into the anki collection media folder. Both the deck and media (a.k.a. pieces of the chessboard) are available here on the GitHub repo. (The installing of the template and pieces is only done once) If in doubt, read the installing instructions on the main page of the repo. Just remember that manually copy pasting the media into media folder is a vital step. Once you are sure the template works properly, you can proceed to create your own cards. Template comes with a set of a few tactics, but since that set has been on the internet for a while now, chances are you already have gone through it. Anyway, if you create your own cards, the sky is the limit. I did this with the pgn of a book on endgames, another one on repertoire, another one on tactics, etc. With even some more work, you may actually export your lichess or chess.com mistakes into a deck, but that’s another process. Anyway. Once the template is installed correctly and media placed, then create a new deck for your cards. Then on anki´s home page click on import file, and select the second file you downloaded from the website (the one with one game per line). You may have to choose ¨|¨ or any other weird character that isn’t used anywhere on the file as separator , so that anki only detects one field per card. Map the contents to the field PGN using the chess card your move. Be sure to Import the file into the empty deck you just created. If everything was done correctly, you are ready to play. Procedure a bit long, but definitely yields great results. Doesn’t rely on add-ons, and it works on all platforms. Particularly on iPad, the experience is fantastic. But everywhere, on android, windows, Mac, etc, It looks gorgeous. It’s simple. Its powerful. Acknowledgements. Thanks to both lichess and the creator of the chess template on github, for making the chess and anki communities a better place. As a result of seeing someone else post something here on the subreddit about chess cards, Im just providing the tutorial with this alternative procedure. Hope you find the tools useful.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Avoid blundering: 80% of a winning strategy

    1 project | news.ycombinator.com | 3 Apr 2024
  • So bad at chess that it’s genuinely upsetting at this point, I need some hope

    1 project | /r/chess | 11 Dec 2023
  • Humans vs. Stockfish’s eval function

    1 project | /r/chess | 8 Dec 2023
  • Venruki’s take on the current issues with PvP

    1 project | /r/worldofpvp | 8 Dec 2023
  • Death wants to take you, but you can challenge it to a game (virtual or not) to stay. what do you play?

    1 project | /r/AskReddit | 8 Dec 2023