diff --git a/src/Game.tsx b/src/Game.tsx index 81dad7c..f93dd57 100644 --- a/src/Game.tsx +++ b/src/Game.tsx @@ -23,7 +23,11 @@ const targets = targetList.slice(0, targetList.indexOf("murky") + 1); // Words n function randomTarget(wordLength: number): string { const eligible = targets.filter((word) => word.length === wordLength); - return pick(eligible); + let candidate: string; + do { + candidate = pick(eligible); + } while (/\*/.test(candidate)); + return candidate; } function getChallengeUrl(target: string): string { diff --git a/src/targets.json b/src/targets.json index 6b4069c..b2a9192 100644 --- a/src/targets.json +++ b/src/targets.json @@ -8327,7 +8327,7 @@ "juncture", "cleansing", "spectacles", - "bitch", + "*****", "incredibly", "discord", "respectfully", @@ -11120,7 +11120,7 @@ "oasis", "tartar", "parenthood", - "whore", + "*****", "tuberculous", "normalization", "memoranda", @@ -13907,7 +13907,7 @@ "charisma", "prosthetic", "verandah", - "gingival", + "********", "exultation", "applaud", "construe", @@ -13945,7 +13945,7 @@ "vibrate", "meanness", "unravel", - "sulcus", + "******", "contrive", "wrongdoing", "centrifugation", @@ -14037,7 +14037,7 @@ "acropolis", "outermost", "dinosaur", - "crap", + "****", "fireside", "harvester", "fructose", @@ -14320,11 +14320,11 @@ "malleable", "linseed", "quickness", - "maxilla", + "*******", "proponent", "turbidity", "doit", - "ridley", + "******", "birthright", "peptic", "sync", @@ -14339,7 +14339,7 @@ "unobserved", "lawlessness", "emeritus", - "dobson", + "******", "cryptic", "rickets", "macrophage", @@ -14395,7 +14395,7 @@ "lovable", "lengthwise", "controllable", - "hydroxy", + "*******", "heyday", "clams", "distinctiveness", @@ -14413,14 +14413,14 @@ "obstinately", "worsted", "smack", - "malacca", - "octavo", + "*******", + "******", "aright", "rapprochement", "detestable", "opportune", - "hematoma", - "parr", + "********", + "****", "antebellum", "attitudinal", "blessedness", @@ -14435,7 +14435,7 @@ "omniscient", "acoustical", "tracheal", - "soever", + "******", "absorbance", "electrification", "stub", @@ -14487,7 +14487,7 @@ "seaport", "legible", "encode", - "siemens", + "*******", "showy", "incredulous", "narcissism", @@ -20698,7 +20698,7 @@ "cheerless", "crystallography", "figural", - "gingiva", + "*******", "hallelujah", "joiner", "thwarting", @@ -22353,7 +22353,7 @@ "oligopolistic", "housemaid", "rehab", - "cunt", + "****", "tiara", "clef", "outlier", @@ -24473,7 +24473,7 @@ "fastener", "ophthalmologist", "lethality", - "arse", + "****", "gird", "cyclopaedia", "quirky", @@ -25503,7 +25503,7 @@ "bugger", "phlebitis", "chamomile", - "negroid", + "*******", "fisted", "seneschal", "hostelry",