Awesome
Wordle in Perl
A command Line Wordle clone.
This is a natural response to a newsletter post Perl Weekly News which ended "Any way, this has nothing to do with Perl".
It is a simple command line Perl application that is sort of replicates the Wordle Application. Would be nice to make it better, serve up diferent languages and work in different platforms. It relies on Term::ANSIColor and maybe Win32::Console::ANSI. This version uses a "words" file in the same directory as the program. If this file is not present, the Unix dictionary file in "/usr/share/dict/words" is tried. Scope is left to allow different lengths of words and different numbers of guesses.
now with game statistics
CHANGES
V0.02
- hymie0 detected bug that seen words remain seen between games...addresses by restoring validWords hash
- Consoles with white backgrounds not catered for; addressed for now by using color("reset") instead of color("white")
V0.03
- Added help message
V0.05
- Added statistics including game time, histogram
- Improved algorithm for getting matches
v0.06
v0.07
- added automatic save game
- records winning streak, and longest streak
v0.09
- better score display
- minor code tidy up