From 64efed0fdcf44c974de318ca48a74475c67f7b76 Mon Sep 17 00:00:00 2001 From: Smoothieewastaken Date: Fri, 20 Oct 2023 10:58:31 +0545 Subject: [PATCH] Typo fixed in wordlet.factor file --- extra/wordlet/wordlet.factor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extra/wordlet/wordlet.factor b/extra/wordlet/wordlet.factor index 7dfdbda84a..d5636250f4 100644 --- a/extra/wordlet/wordlet.factor +++ b/extra/wordlet/wordlet.factor @@ -44,7 +44,7 @@ TUPLE: wordlet-game secret-word chances guesses ; { COLOR: green [ 3 ] } } case ; -: reamining-chars ( game -- chars ) +: remaining-chars ( game -- chars ) [ secret-word>> ] [ guesses>> ] bi [ guess>chars ] with map concat members @@ -54,7 +54,7 @@ TUPLE: wordlet-game secret-word chances guesses ; CHAR: a CHAR: z [a..b] [ 1string COLOR: white ] { } map>assoc [ or ] assoc-merge ; : print-remaining-chars ( game -- ) - reamining-chars [ background associate format ] assoc-each nl ; + remaining-chars [ background associate format ] assoc-each nl ; : print-guesses ( game -- ) [ secret-word>> ] [ guesses>> ] bi [ -- 2.34.1