https://github.com/saiftynet/wordle
A command Line wordle clone
https://github.com/saiftynet/wordle
game perl
Last synced: about 1 year ago
JSON representation
A command Line wordle clone
- Host: GitHub
- URL: https://github.com/saiftynet/wordle
- Owner: saiftynet
- License: gpl-2.0
- Created: 2022-02-02T17:17:58.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-12T19:58:41.000Z (over 4 years ago)
- Last Synced: 2023-03-01T01:40:33.470Z (over 3 years ago)
- Topics: game, perl
- Language: Perl
- Homepage:
- Size: 406 KB
- Stars: 29
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Wordle in Perl
A command Line Wordle clone.
This is a natural response to a newsletter post [Perl Weekly News](https://perlweekly.com/archive/549.html) 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](https://metacpan.org/pod/Term::ANSIColor) and maybe [Win32::Console::ANSI](https://metacpan.org/release/JLMOREL/Win32-Console-ANSI-1.11/view/lib/Win32/Console/ANSI.pm). 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
1) [hymie0](https://github.com/saiftynet/Wordle/issues?q=is%3Aissue+is%3Aopen+author%3Ahymie0) detected bug that seen words remain seen between games...addresses by restoring validWords hash
2) Consoles with white backgrounds not catered for; addressed for now by using color("reset") instead of color("white")
V0.03
1) Added help message
V0.05
1) Added statistics including game time, histogram
2) Improved algorithm for getting matches
v0.06
1) better looking stats including win and fail counts
2) [bug](https://github.com/saiftynet/Wordle/issues/3) squished by [hymie0](https://github.com/hymie0)
v0.07
1) added automatic save game
2) records winning streak, and longest streak
v0.09
1) better score display
2) minor code tidy up