chore: add description to themed puzzle selection
Browse files
docs/best_1000_puzzles_by_theme.md
CHANGED
@@ -1,3 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
| Name | Description | Link |
|
2 |
|-------------------------|---------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------|
|
3 |
| Advanced pawn | One of your pawns is deep into the opponent position, maybe threatening to promote. | [Link](https://github.com/pwenker/chessli2/blob/main/puzzles/advancedPawn.csv) |
|
|
|
1 |
+
# ๐ Best 1000 Puzzles by Theme ๐งฉ
|
2 |
+
|
3 |
+
Below you find the best (= highest popularity score, ordered by number of plays) 1000 puzzles for each of the [available themes](https://lichess.org/training/themes) ๐ฏ, sourced from the [lichess puzzles database](https://database.lichess.org/#puzzles) ๐.
|
4 |
+
|
5 |
+
The CSV files contain two columns - the PGN of the puzzle, and the corresponding tags ๐ท๏ธ - and are compatible with the [Anki-Chess-2.0](https://github.com/TowelSniffer/Anki-Chess-2.0) template ๐๏ธ.
|
6 |
+
|
7 |
+
If you want to generate your own puzzles, filtered by popularity, rating, number of plays and puzzle themes, you can do so within the "Puzzle Database" tab of `chessli2` โ๏ธ.
|
8 |
+
|
9 |
+
|
10 |
| Name | Description | Link |
|
11 |
|-------------------------|---------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------|
|
12 |
| Advanced pawn | One of your pawns is deep into the opponent position, maybe threatening to promote. | [Link](https://github.com/pwenker/chessli2/blob/main/puzzles/advancedPawn.csv) |
|
src/chessli2/app.py
CHANGED
@@ -16,8 +16,7 @@ puzzle_themes_file = Path("docs/puzzle_themes.md")
|
|
16 |
with gr.Blocks(title="Chessli2") as chessli2_gradio_app:
|
17 |
with gr.Tab("Welcome"):
|
18 |
readme = readme_file.read_text()
|
19 |
-
|
20 |
-
gr.Markdown(gr_readme)
|
21 |
|
22 |
with gr.Tab("Games & Mistakes"):
|
23 |
gr.Markdown(
|
@@ -26,7 +25,7 @@ with gr.Blocks(title="Chessli2") as chessli2_gradio_app:
|
|
26 |
|
27 |
Here you can fetch your games and mistakes from your **game history** ๐ฎ. You can filter by time control, type of mistakes, and date range.
|
28 |
|
29 |
-
When you are happy, you can download a CSV file with the selected mistakes' PGNs to practice them with Anki ๐ฅ."""
|
30 |
)
|
31 |
|
32 |
user_name = gr.Textbox(
|
|
|
16 |
with gr.Blocks(title="Chessli2") as chessli2_gradio_app:
|
17 |
with gr.Tab("Welcome"):
|
18 |
readme = readme_file.read_text()
|
19 |
+
gr.Markdown(readme)
|
|
|
20 |
|
21 |
with gr.Tab("Games & Mistakes"):
|
22 |
gr.Markdown(
|
|
|
25 |
|
26 |
Here you can fetch your games and mistakes from your **game history** ๐ฎ. You can filter by time control, type of mistakes, and date range.
|
27 |
|
28 |
+
When you are happy, you can download a CSV file with the selected mistakes' PGNs to practice them with Anki ๐ฅ.""",
|
29 |
)
|
30 |
|
31 |
user_name = gr.Textbox(
|