This is a simple implementation of the WORDLE game using Python with added features.
Optimized to 120 lines of code
Tested System:
Windows 10 Home Build 19044.1466
i5 7300 HQ 8GB RAM GTX-1050 4GB VRAM
Python 3.6.10 (Anaconda Env)
Libraries used: nltk 3.5, Tkinter v8.6
Added Features
(+) Dynamic Grid
(+) No Play restriction time (duh)
(+) Word length range from 4-9 letter words
(+) Word defintion at game end
(+) Edit any word on active grid (*)
Removed Features
(-) Letters are not repeated
*May encounter bugs
Bugs and possible fixes
(-) Editting any word on active grid may cause additional alphabets in the block
(Temp Fix) click and highlight word and press Delete key
(-) Backspace may not word as intenteded
(Temp Fix) click and highlight word and press Delete key
(-) A letter may be highlighted as Yellow if it is already detected in prior letters at the same line.
(Temp Fix) Just keep in mind that letters aren't repeated for any words
[note] comment line 52, otherwise the word guessed by computer will be printed in terminal.
*This code was scripted in VS Code