A quick-and-dirty Python word generator for Scrabble

Want a more efficient way to play scrabble? “Scrounging for Data” has a solution! Love this.

Scrounging for Data

I haven’t had a chance to do much coding this semester, and I’ve been itching to get back into it.  My problem with coding has always been finding interesting projects that aren’t too difficult – everything I think of is either boring or beyond my capabilities.

While I was home on Thanksgiving break, during a family Scrabble game, it occurred to me that there were probably anagram generators available online specifically for playing Scrabble, and after looking at a few I decided I wanted to try to make my own.  I figured it would be a pretty easy project, but would allow me to refresh my rusty Python.

I began by looking for a dictionary to use for checking whether I’ve generated valid words.  I thought I would use the built-in Linux word list in /usr/share/dict, but reading around I learned about Python’s Enchant library.  This library allows a user…

View original post 464 more words

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s