Skip to content

Commit 4b328fb

Browse files
committed
add valid word list for better faithfulness
1 parent 06cccf8 commit 4b328fb

File tree

2 files changed

+1341
-1
lines changed

2 files changed

+1341
-1
lines changed

game/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func (m *AppModel) enter() tea.Cmd {
9797

9898
word := wb.String()
9999

100-
for _, w := range words.WordList {
100+
for _, w := range words.ValidWordList {
101101
if w == word {
102102
ok = true
103103
break

0 commit comments

Comments
 (0)