Blue Static

Scrabbalize 1.0

Posted on December 22, 2007 at 08:28 UTC, filed under the category Cocoa. Tags: cheating, Cocoa, leopard, scrabbalize, scrabble, text twist,

Last weekend my friends and I discovered the Scrabulous application on Facebook. Personally, I am very bad at Scrabble, but my friends insisted that I play. The game was starting to hurt my head and I was getting frustrated, so I wrote a program to do the thinking for me. Enter Scrabbalize.

Scrabbalize is quite simple. You type in all the letters (“tiles”) for your game into the text box as one long string. Press go, and then the program will run through a dictionary, finding all the words that have some or all of your letters. It then sorts the words by length so you can see your best options.

It is written in Cocoa and it requires Mac OS X 10.5 beacuse I wanted to try garbage collection and fast enumeartion. Both of these things make my life significantly easier, so expect all future Mac OS X applications to require 10.5. Of course, the source code is available if you want to take a gander.

Scrabbalize 1.0 screen shot.

Comments

Comment by Tyler on 2008-02-06 23:14:43 +0000

I would like it if you could add a blank piece feature, like the word finder plugin (i think its called that other wise anagramer) you put a ? for a blank piece it would add all the letters it could be, but it keeps it as a ?. if you could do that that would be great.

All you do is type in a ? and it uses every letter of the alphabet, except not together.

Thanks

Comment by Robert on 2008-02-07 11:11:19 +0000

I agree that this would be quite helpful. However, the algorithm that is used to find words is made *extremely* slow when you use wild cards with longer words; thus I’m going to try and optimize it a bit. I definitely want this in Scrabbalize, though, so it will be added — I’m just not sure as to how soon.