replace the joker tiles by blank tiles
authorLaurent Mazet <mazet@softndesign.org>
Fri, 9 Oct 2020 20:14:04 +0000 (22:14 +0200)
committerLaurent Mazet <mazet@softndesign.org>
Fri, 9 Oct 2020 20:14:04 +0000 (22:14 +0200)
lang-dists-extractor/make_board.awk
server/lang/uk.json

index 174e6f5c5d118bc96cff0d7582f6a34521849962..c7e1f62d557906f2523398263c34f8137a024fc3 100755 (executable)
@@ -15,7 +15,7 @@ $1 == "-" { sub(/- /, "") }
         gsub(/[×,]/, "")
         for (i = 1; i<= NF; i+=2) {
                 lettre = $(i)
-                if (lettre == "blank") {
+                if ((lettre == "blank") || (lettre ~ /[Jj]oker/)) {
                         lettre = " "
                 }
                 nombre = $(i+1)
index 2827c7d4d12e462ca726bb486110a9e6ffdebab7..28624054db6e4588125d19e71aa0c279f8ac4f3c 100644 (file)
@@ -3,7 +3,7 @@
     "name": "Ukrainian",
 
     "bag": [
-        "Jokers", "Jokers",
+        " ", " ",
         "О", "О", "О", "О", "О", "О", "О", "О", "О",
         "А", "А", "А", "А", "А", "А", "А", "А",
         "И", "И", "И", "И", "И", "И",
@@ -41,7 +41,7 @@
     ],
 
     "letterValues": {
-        "Jokers": 0,
+        " ": 0,
         "О": 1,
         "А": 1,
         "И": 1,