summaryrefslogtreecommitdiffstats
path: root/lib/Games
Commit message (Collapse)AuthorAgeFilesLines
* modernize, cleanup, etcJesse Luehrs2012-07-052-93/+19
|
* Optimized Wordlist's anagrams and subwords_of.Stephen Rollyson2012-07-041-11/+3
|
* cleanupsJesse Luehrs2010-01-021-3/+3
|
* convert to dzilJesse Luehrs2009-11-172-16/+0
|
* a few minor cleanupsJesse Luehrs2009-11-162-14/+9
|
* bump version up to 0.04jluehrs22008-12-182-4/+4
|
* 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-182-4/+4
|
* update email addressjluehrs22008-12-172-2/+2
|
* update version and release date for another release0.02jluehrs22008-02-042-3/+3
|
* oops, add version number here, prepare for another releasejluehrs22008-02-041-1/+1
|
* shared_letters_by_position should return an array that's the length of the ↵jluehrs22008-02-021-2/+2
| | | | longer string, not the shorter
* make each_word publicjluehrs22008-02-021-4/+11
|
* loop over all words, not all permutations to search for anagramsjluehrs22008-02-021-2/+6
|
* forgot onejluehrs22008-02-021-0/+2
|
* change the style of the documentation a bit to be more readablejluehrs22008-02-021-37/+23
|
* add documentation to Games::Wordjluehrs22008-02-021-21/+102
|
* a few minor cleanupsjluehrs22008-02-021-4/+3
|
* stop dying on non-critical thingsjluehrs22008-02-021-6/+5
|
* make sure we test all open()s for failurejluehrs22008-02-021-5/+3
|
* make all functions without a useful return value return undefjluehrs22008-02-021-0/+8
|
* die on remove_words if we aren't using a cache (like we already do with ↵jluehrs22008-02-021-0/+3
| | | | add_words)
* add documentation to Games::Word::Wordlistjluehrs22008-02-021-23/+130
|
* allow getting random words of a specified lengthjluehrs22008-02-021-5/+19
|
* add subwords_of to return only the subpermutations that are actually wordsjluehrs22008-02-021-1/+12
|
* 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)
* make $wl->words work properly when the wordlist isn't cachedjluehrs22008-02-021-2/+4
|
* 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-012-19/+30
|
* add methods to add and remove elements from the word list, and to get the ↵jluehrs22008-02-011-0/+34
| | | | number of words
* allow the constructor to fill up the word list from an arrayrefjluehrs22008-02-011-9/+17
|
* add words_like to search the word list for words matching a given regexjluehrs22008-01-311-0/+8
|
* add an anagrams() function to get anagrams of a wordjluehrs22008-01-311-0/+9
|
* add a function to get a list of all permutations of a stringjluehrs22008-01-311-1/+9
|
* implement internal functions for iterating over the word listjluehrs22008-01-311-0/+24
|
* move the wordlist stuff into its own filejluehrs22008-01-312-72/+160
|
* 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
|