Surn commited on
Commit
afc55dc
·
1 Parent(s): 8b52800

fix word lists

Browse files
Files changed (3) hide show
  1. wrdler/ui.py +5 -4
  2. wrdler/words/english.txt +204 -10
  3. wrdler/words/sports.txt +42 -0
wrdler/ui.py CHANGED
@@ -351,6 +351,7 @@ def inject_styles() -> None:
351
  # font-size: 1.75rem !important; /* Title */
352
  line-height: 1.1 !important;
353
  }
 
354
  /* Base grid cell visuals */
355
  .bw-row { display: flex; gap: 0.1rem; flex-wrap: nowrap; min-height: 48px;}
356
  .bw-cell {
@@ -485,7 +486,7 @@ border-radius: 50% !important;
485
  .st-key-new_game_btn > div[data-testid="stButton"] button, .st-key-sort_wordlist_btn > div[data-testid="stButton"] button { aspect-ratio: unset; text-align:center; height: auto;}
486
 
487
  div[data-testid="column"], .st-emotion-cache-zh2fnc { width: auto !important; flex: 1 1 auto !important; min-width: 100% !important; max-width: 100% !important; }
488
- .st-emotion-cache-1permvm, .st-emotion-cache-1n6tfoc { gap:0.15rem !important; min-height: 2.5rem; min-width: 2.5rem;}
489
 
490
  .bw-grid-row-anchor + div[data-testid="stHorizontalBlock"] { flex-wrap: nowrap !important; overflow-x: auto !important; margin: 2px 0 !important; }
491
  .bw-grid-row-anchor + div[data-testid="stHorizontalBlock"] > div[data-testid="column"] { flex: 0 0 auto !important; }
@@ -498,7 +499,7 @@ border-radius: 50% !important;
498
  position:relative;
499
  z-index: 1200;
500
  }
501
- .st-emotion-cache-18kf3ut {padding-bottom:3px;}
502
 
503
  /* grid adjustments */
504
  @media (min-width: 560px){
@@ -519,7 +520,7 @@ border-radius: 50% !important;
519
  display: none;
520
  }
521
  @media (max-width: 991px) and (min-width: 640px){
522
- .st-emotion-cache-18kf3ut {padding-bottom:0;}
523
  }
524
  /* Mobile styles */
525
  @media (max-width: 640px) {
@@ -781,7 +782,7 @@ def _render_header():
781
  if st.session_state.get("enable_free_letters", False):
782
  st.subheader("Choose 2 free letters, then reveal cells and guess words on each line!")
783
  else:
784
- st.subheader("Reveal cells and guess words on each line!")
785
 
786
  # Only show Challenge Mode expander if in challenge mode and game_id is present
787
  params = st.query_params if hasattr(st, "query_params") else {}
 
351
  # font-size: 1.75rem !important; /* Title */
352
  line-height: 1.1 !important;
353
  }
354
+ .stHeading h3 {font-size: 1.35rem;}
355
  /* Base grid cell visuals */
356
  .bw-row { display: flex; gap: 0.1rem; flex-wrap: nowrap; min-height: 48px;}
357
  .bw-cell {
 
486
  .st-key-new_game_btn > div[data-testid="stButton"] button, .st-key-sort_wordlist_btn > div[data-testid="stButton"] button { aspect-ratio: unset; text-align:center; height: auto;}
487
 
488
  div[data-testid="column"], .st-emotion-cache-zh2fnc { width: auto !important; flex: 1 1 auto !important; min-width: 100% !important; max-width: 100% !important; }
489
+ .st-emotion-cache-1permvm, .st-emotion-cache-1n6tfoc { gap:0.25rem !important; min-height: 2.5rem; min-width: 2.5rem;}
490
 
491
  .bw-grid-row-anchor + div[data-testid="stHorizontalBlock"] { flex-wrap: nowrap !important; overflow-x: auto !important; margin: 2px 0 !important; }
492
  .bw-grid-row-anchor + div[data-testid="stHorizontalBlock"] > div[data-testid="column"] { flex: 0 0 auto !important; }
 
499
  position:relative;
500
  z-index: 1200;
501
  }
502
+ .st-emotion-cache-18kf3ut, .stColumn.st-emotion-cache-116javk {padding-bottom:3px;}
503
 
504
  /* grid adjustments */
505
  @media (min-width: 560px){
 
520
  display: none;
521
  }
522
  @media (max-width: 991px) and (min-width: 640px){
523
+ .st-emotion-cache-18kf3ut, .stColumn.st-emotion-cache-116javk {padding-bottom:0;}
524
  }
525
  /* Mobile styles */
526
  @media (max-width: 640px) {
 
782
  if st.session_state.get("enable_free_letters", False):
783
  st.subheader("Choose 2 free letters, then reveal cells and guess words on each line!")
784
  else:
785
+ st.subheader("Reveal letters of words on the six lines. Guess the words before all letters are found to get extra points and improve your score!")
786
 
787
  # Only show Challenge Mode expander if in challenge mode and game_id is present
788
  params = st.query_params if hasattr(st, "query_params") else {}
wrdler/words/english.txt CHANGED
@@ -1,10 +1,12 @@
1
  # AI-generated word list
2
- # Topic: EnglisH
3
- # Last updated: 2025-11-24 09:23:12
4
- # Total words: 336
5
  # Format: one word per line, sorted by length then alphabetically
6
  #
 
7
  ALMS
 
8
  BAIL
9
  BAIT
10
  BALE
@@ -20,9 +22,11 @@ BORN
20
  BUNK
21
  BURN
22
  CAKE
 
23
  CARE
24
  CLIP
25
  CODE
 
26
  DARE
27
  DEAR
28
  DENT
@@ -33,7 +37,10 @@ EARS
33
  EASE
34
  EATS
35
  ECHO
 
 
36
  EMIT
 
37
  FELL
38
  FILE
39
  FINE
@@ -41,6 +48,7 @@ FIRE
41
  FISH
42
  FLAP
43
  FLAT
 
44
  GAIN
45
  GAME
46
  GEMS
@@ -49,38 +57,116 @@ GIRD
49
  GIVE
50
  GLOB
51
  HALE
 
 
 
 
52
  HONE
53
  HOSE
 
54
  IRON
 
55
  LAKE
56
  LAND
57
  LANE
 
58
  LASH
59
  LATE
60
  LEAD
61
  LEAN
62
  LEAP
 
 
63
  LEND
 
64
  LIFE
65
  LINE
66
  LION
67
  LIST
 
 
 
68
  LODE
 
 
 
 
 
 
69
  MINE
70
  NAIL
 
 
 
 
 
 
 
 
 
71
  OILY
 
 
 
72
  PACE
73
  PAIN
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  POET
 
 
75
  PORE
76
  PORT
77
  POUR
 
 
 
 
 
 
 
 
 
78
  RAKE
 
 
 
 
79
  READ
80
  REAL
 
 
 
 
 
 
81
  RENT
 
 
82
  RIDE
 
 
 
 
83
  RISE
 
84
  ROAM
85
  ROPS
86
  SEAL
@@ -106,15 +192,19 @@ YELL
106
  ZONE
107
  ALICE
108
  ALIKE
 
109
  BANKS
 
110
  BEAST
111
  BLANK
112
  BLIND
113
  BOAST
 
114
  BRAID
115
  BRAKE
116
  BRASH
117
  BRAVE
 
118
  BRICK
119
  BRINE
120
  BRING
@@ -128,39 +218,143 @@ BUNCH
128
  BURNS
129
  BURST
130
  CABLE
 
 
 
131
  CAUSE
 
132
  CHEER
 
 
 
133
  CLAIM
134
  CLANG
 
135
  CLASP
 
 
136
  CLOUD
137
  CODES
 
 
 
138
  COLOR
 
 
 
 
 
139
  CRASH
 
140
  CROSS
 
 
 
141
  DANCE
142
  DARES
 
 
143
  DEALT
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
144
  DROPS
 
 
 
145
  EARLY
 
146
  EASES
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
147
  FANCY
 
 
 
 
 
 
 
 
148
  FENCE
 
 
 
 
149
  FIELD
 
 
 
150
  FLAIR
151
  FLAKE
152
  FLAPY
153
  FLARE
 
 
154
  FLICK
 
 
155
  FLOOD
156
  FLOOR
 
157
  FLOWE
158
  FLOWS
159
  FLUNG
160
  FLUSH
161
  FLUTE
 
 
 
 
162
  FOLKS
 
 
 
 
 
 
 
 
 
163
  FRAYS
 
164
  FRESH
165
  FRIED
166
  FRILL
@@ -225,6 +419,7 @@ NURSE
225
  OMITS
226
  OUTGO
227
  PEERS
 
228
  PINKO
229
  PINTS
230
  PLAYS
@@ -238,6 +433,7 @@ PORTS
238
  PRAIR
239
  PRATE
240
  PRICK
 
241
  PRISM
242
  PRIVE
243
  PRIZE
@@ -264,12 +460,7 @@ RESEW
264
  RESIN
265
  RESTO
266
  RETRO
267
- REXED
268
- REXER
269
- REXES
270
- REXIS
271
- REYED
272
- RHIME
273
  RINGS
274
  RISES
275
  RIVER
@@ -330,8 +521,12 @@ BRIGHT
330
  CASTLE
331
  DINNER
332
  EMPIRE
 
 
 
333
  FLOWER
334
  FOREST
 
335
  GENTLE
336
  HAMMER
337
  ISLAND
@@ -339,4 +534,3 @@ LENGTH
339
  PRAISE
340
  REASON
341
  REFORM
342
- REYLES
 
1
  # AI-generated word list
2
+ # Topic: English
3
+ # Last updated: 2025-12-01 11:05:07
4
+ # Total words: 595
5
  # Format: one word per line, sorted by length then alphabetically
6
  #
7
+ ALES
8
  ALMS
9
+ ARMY
10
  BAIL
11
  BAIT
12
  BALE
 
22
  BUNK
23
  BURN
24
  CAKE
25
+ CAME
26
  CARE
27
  CLIP
28
  CODE
29
+ COPY
30
  DARE
31
  DEAR
32
  DENT
 
37
  EASE
38
  EATS
39
  ECHO
40
+ EELS
41
+ ELMY
42
  EMIT
43
+ ENDS
44
  FELL
45
  FILE
46
  FINE
 
48
  FISH
49
  FLAP
50
  FLAT
51
+ FUEL
52
  GAIN
53
  GAME
54
  GEMS
 
57
  GIVE
58
  GLOB
59
  HALE
60
+ HANG
61
+ HARE
62
+ HENS
63
+ HINT
64
  HONE
65
  HOSE
66
+ HUES
67
  IRON
68
+ KEEL
69
  LAKE
70
  LAND
71
  LANE
72
+ LARK
73
  LASH
74
  LATE
75
  LEAD
76
  LEAN
77
  LEAP
78
+ LEET
79
+ LEFT
80
  LEND
81
+ LENS
82
  LIFE
83
  LINE
84
  LION
85
  LIST
86
+ LOAN
87
+ LOBE
88
+ LOCO
89
  LODE
90
+ LOON
91
+ LOST
92
+ LURE
93
+ MAIN
94
+ MAKE
95
+ MEAD
96
  MINE
97
  NAIL
98
+ NEAR
99
+ NEST
100
+ NINE
101
+ NITE
102
+ NOEL
103
+ NOUN
104
+ OAKS
105
+ OARE
106
+ OATH
107
  OILY
108
+ OPEN
109
+ OPEX
110
+ OREO
111
  PACE
112
  PAIN
113
+ PALE
114
+ PANE
115
+ PANG
116
+ PARK
117
+ PEAL
118
+ PEAN
119
+ PEAT
120
+ PEND
121
+ PENT
122
+ PEON
123
+ PERN
124
+ PEST
125
+ PEWS
126
+ PINE
127
+ PINK
128
+ PINT
129
+ PLEA
130
+ PLED
131
+ PLUN
132
  POET
133
+ POLY
134
+ POPE
135
  PORE
136
  PORT
137
  POUR
138
+ PRAT
139
+ PREY
140
+ PRIX
141
+ PUNT
142
+ PURE
143
+ PUSH
144
+ QUAD
145
+ QUIT
146
+ RADE
147
  RAKE
148
+ RAMS
149
+ RANT
150
+ RAVE
151
+ RAZE
152
  READ
153
  REAL
154
+ REAM
155
+ REAP
156
+ REAR
157
+ REED
158
+ REEL
159
+ REES
160
  RENT
161
+ REPS
162
+ REST
163
  RIDE
164
+ RILE
165
+ RHYME
166
+ RINE
167
+ RINK
168
  RISE
169
+ RITE
170
  ROAM
171
  ROPS
172
  SEAL
 
192
  ZONE
193
  ALICE
194
  ALIKE
195
+ APPLE
196
  BANKS
197
+ BEARD
198
  BEAST
199
  BLANK
200
  BLIND
201
  BOAST
202
+ BOOKS
203
  BRAID
204
  BRAKE
205
  BRASH
206
  BRAVE
207
+ BREAD
208
  BRICK
209
  BRINE
210
  BRING
 
218
  BURNS
219
  BURST
220
  CABLE
221
+ CAMEL
222
+ CANES
223
+ CASTS
224
  CAUSE
225
+ CHASE
226
  CHEER
227
+ CHILL
228
+ CHORD
229
+ CIDER
230
  CLAIM
231
  CLANG
232
+ CLASH
233
  CLASP
234
+ CLAWS
235
+ CLOTH
236
  CLOUD
237
  CODES
238
+ COILS
239
+ COINS
240
+ COLON
241
  COLOR
242
+ COMMA
243
+ CORAL
244
+ CORNS
245
+ CRABS
246
+ CRANK
247
  CRASH
248
+ CRISP
249
  CROSS
250
+ CRUEL
251
+ CUEPS
252
+ DALES
253
  DANCE
254
  DARES
255
+ DARKS
256
+ DARTS
257
  DEALT
258
+ DENSE
259
+ DENTS
260
+ DEPTS
261
+ DIALS
262
+ DICES
263
+ DILLS
264
+ DIMES
265
+ DINGS
266
+ DITCH
267
+ DIVES
268
+ DODGE
269
+ DOLLS
270
+ DOZEN
271
+ DRAWS
272
+ DRILL
273
  DROPS
274
+ DUELS
275
+ DUNES
276
+ EAGLE
277
  EARLY
278
+ EARTH
279
  EASES
280
+ EBONY
281
+ EDGES
282
+ EJECT
283
+ ELITE
284
+ ELOPE
285
+ EMIT
286
+ ENEMY
287
+ ENSUE
288
+ ENVOI
289
+ EPIC
290
+ EPOCH
291
+ ERASE
292
+ ERUPT
293
+ EULOGY
294
+ EVOKE
295
+ EXACT
296
+ EXALT
297
+ EXAMS
298
+ EXITS
299
+ EYING
300
+ EZINE
301
+ FABLE
302
+ FACES
303
+ FADED
304
+ FADES
305
+ FAITH
306
+ FALLS
307
  FANCY
308
+ FANES
309
+ FANNY
310
+ FARES
311
+ FARTH
312
+ FATES
313
+ FAULT
314
+ FAVOR
315
+ FEAST
316
  FENCE
317
+ FENDS
318
+ FERNS
319
+ FEUDS
320
+ FIDES
321
  FIELD
322
+ FIGHT
323
+ FINED
324
+ FINES
325
  FLAIR
326
  FLAKE
327
  FLAPY
328
  FLARE
329
+ FLASH
330
+ FLAWS
331
  FLICK
332
+ FLING
333
+ FLOES
334
  FLOOD
335
  FLOOR
336
+ FLOP
337
  FLOWE
338
  FLOWS
339
  FLUNG
340
  FLUSH
341
  FLUTE
342
+ FOBES
343
+ FOILS
344
+ FOLDS
345
+ FOLIA
346
  FOLKS
347
+ FOMIT
348
+ FONTS
349
+ FORGE
350
+ FORMS
351
+ FORTE
352
+ FOULE
353
+ FOUNT
354
+ FRANK
355
+ FRAPS
356
  FRAYS
357
+ FRAZE
358
  FRESH
359
  FRIED
360
  FRILL
 
419
  OMITS
420
  OUTGO
421
  PEERS
422
+ PENCE
423
  PINKO
424
  PINTS
425
  PLAYS
 
433
  PRAIR
434
  PRATE
435
  PRICK
436
+ PRIDE
437
  PRISM
438
  PRIVE
439
  PRIZE
 
460
  RESIN
461
  RESTO
462
  RETRO
463
+ RHYME
 
 
 
 
 
464
  RINGS
465
  RISES
466
  RIVER
 
521
  CASTLE
522
  DINNER
523
  EMPIRE
524
+ FANOUT
525
+ FAXING
526
+ FLIGHT
527
  FLOWER
528
  FOREST
529
+ FRAMES
530
  GENTLE
531
  HAMMER
532
  ISLAND
 
534
  PRAISE
535
  REASON
536
  REFORM
 
wrdler/words/sports.txt ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # AI-generated word list
2
+ # Topic: SPORTS
3
+ # Last updated: 2025-12-01 11:06:55
4
+ # Total words: 36
5
+ # Format: one word per line, sorted by length then alphabetically
6
+ #
7
+ BALLS
8
+ BENCH
9
+ CLUBS
10
+ DARTS
11
+ DENIM
12
+ FENCY
13
+ FILMS
14
+ FINES
15
+ GAMES
16
+ GOLFS
17
+ HEATS
18
+ HOOPS
19
+ LANCE
20
+ LINES
21
+ LOOPS
22
+ POLES
23
+ RALLY
24
+ REELS
25
+ SCORE
26
+ SHANK
27
+ SHOOT
28
+ SKATE
29
+ SLICE
30
+ SLIPS
31
+ SOLES
32
+ SPOTS
33
+ SPURN
34
+ SWIMM
35
+ TACKL
36
+ TAMES
37
+ TEAMS
38
+ TRACK
39
+ TRAMP
40
+ TURNS
41
+ WREST
42
+ SOCCER