]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/wordlet/wordlet.factor
Typo fixed in wordlet.factor file
[factor.git] / extra / wordlet / wordlet.factor
index 7dfdbda84a10dd5857f8eca42463de2859103cce..d5636250f4c6a5d70c81f74931294f4415e6cca1 100644 (file)
@@ -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 [