Re: Hangman
Posted: Mon Dec 17, 2012 7:55 pm
If I manage to get bored enough to code it, I'll call it "Hangman Coded Only And Absolutely By Nixola From Love2d.org's Forum"
Out of curiosity I decided to load all the words into a table. Surprisingly it only took .8 seconds to load them all and didn't take up much memory at all.substitute541 wrote:Here's a dictionary of 172,806 words, just in case anyone needs it... (note : you need a text editor that supports newline character).
https://dl.dropbox.com/u/105405645/words
Um, yeah, it was from some free online course problem sets (specifically, pset3 about finishing an implementation of Scramble by making a lookup function using any search algorithm [mine is binary search]).Jasoco wrote:Out of curiosity I decided to load all the words into a table. Surprisingly it only took .8 seconds to load them all and didn't take up much memory at all.substitute541 wrote:Here's a dictionary of 172,806 words, just in case anyone needs it... (note : you need a text editor that supports newline character).
https://dl.dropbox.com/u/105405645/words
Color me shocked and surprised and pleased.
Curious, what's the source of this list and is there a permanent repository that can be accessed for updating in the future? Just in case I ever decide to do anything word-game related.