summaryrefslogtreecommitdiffstats
path: root/lib/Games/Word.pm
Commit message (Collapse)AuthorAgeFilesLines
* modernize, cleanup, etcJesse Luehrs2012-07-051-20/+8
|
* convert to dzilJesse Luehrs2009-11-171-8/+0
|
* a few minor cleanupsJesse Luehrs2009-11-161-11/+8
|
* bump version up to 0.04jluehrs22008-12-181-2/+2
|
* anchor this regex, so it stops just matching everythingjluehrs22008-12-181-1/+1
|
* test for $string being empty, not just $substringjluehrs22008-12-181-0/+1
|
* update revision to 0.03jluehrs22008-12-181-2/+2
|
* update email addressjluehrs22008-12-171-1/+1
|
* update version and release date for another release0.02jluehrs22008-02-041-2/+2
|
* shared_letters_by_position should return an array that's the length of the ↵jluehrs22008-02-021-2/+2
| | | | longer string, not the shorter
* forgot onejluehrs22008-02-021-0/+2
|
* add documentation to Games::Wordjluehrs22008-02-021-21/+102
|
* make sure we don't catch 0 herejluehrs22008-02-021-3/+3
|
* add is_subpermutation and all_subpermutations to do the same thing as the ↵jluehrs22008-02-021-1/+13
| | | | substring functions, except without order mattering
* probably name these correctlyjluehrs22008-02-021-3/+3
|
* add is_substring and all_substrings to mess with strings made up of (not ↵jluehrs22008-02-021-1/+28
| | | | necessarily consecutive) letters in order from a given string
* use a better algorithm for generating random permutations (one that isn't ↵jluehrs22008-02-021-13/+22
| | | | limited by the ability of the factorial of the input length to fit into 32 bits)
* implement random_string_from, which returns a string containing random ↵jluehrs22008-02-011-1/+13
| | | | characters from some character list
* i really meant to be using shift herejluehrs22008-02-011-5/+5
|
* stop looping once we go off the end of one of the stringsjluehrs22008-02-011-0/+1
|
* add shared_letters and shared_letters_by_position for mastermind style ↵jluehrs22008-02-011-1/+41
| | | | string comparisons
* minor syntax cleanupsjluehrs22008-02-011-3/+7
|
* add a function to get a list of all permutations of a stringjluehrs22008-01-311-1/+9
|
* move the wordlist stuff into its own filejluehrs22008-01-311-72/+1
|
* don't leave stale caches sitting around if we don't want a cachejluehrs22008-01-311-0/+1
|
* add a caching option to random_word and is_wordjluehrs22008-01-311-2/+40
|
* don't chomp words we don't care aboutjluehrs22008-01-311-1/+1
|
* better error for unable to open filejluehrs22008-01-311-2/+1
|
* add (very inefficient at the moment) functions for generating random words ↵jluehrs22008-01-311-1/+34
| | | | and for checking to see if a given string is a word. these will be optimized later.
* module stuffjluehrs22008-01-311-0/+4
|
* implement random_permutation and is_permutationjluehrs22008-01-311-2/+29
|
* Initial import of Games::Wordjluehrs22008-01-301-0/+83