commit 9a5e1b026219ea4a2b320c21bac8284832f852e3
parent dfff5085243cc54cea1edbb5f1d604c9676e8a38
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 17 Dec 2023 21:31:40 +0100
generate.sh: remove comment
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/generate.sh b/generate.sh
@@ -25,13 +25,11 @@ body {
<body>
<header>
<h1>Puzzles, happy christmas mating!</h1>
-<!--<p>View the bottom of the SVG source for <a href="https://en.wikipedia.org/wiki/Forsyth%E2%80%93Edwards_Notation">OnlyFENs</a> :)</p>-->
</header>
<main>
!
# shuffle, some sort of order and point system based on rating of puzzle.
-
db="lichess_db_puzzle.csv"
count=1
@@ -77,7 +75,7 @@ while read -r line; do
ratingdev=$(printf '%s' "$line" | cut -f 5 -d ',')
lichess=$(printf '%s' "$line" | cut -f 9 -d ',')
- # added field
+ # added field: points
points=$(printf '%s' "$line" | cut -f "11" -d ',')
img="$i.svg"