11 lines
379 B
Plaintext
11 lines
379 B
Plaintext
["BO","XK","DQ","CP","NA","GT","RE","TG","QD","FS","JW","HU","VI","AN","OB","ER","FS","LY","PC","ZM"] const: ABCBlocks
|
|
|
|
: canMakeWord(w, blocks)
|
|
| i |
|
|
w isEmpty ifTrue: [ true return ]
|
|
blocks size loop: i [
|
|
blocks at(i) include(w first toUpper) ifFalse: [ continue ]
|
|
canMakeWord(w right(w size 1 -), blocks del(i, i)) ifTrue: [ true return ]
|
|
]
|
|
false ;
|