Skip to content

saiftynet/Wordle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

image

now with game statistics

image

CHANGES

V0.02

  1. hymie0 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 squished by 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

About

A command Line wordle clone

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages