Skip to content

My Scramble Cheat script

April 3, 2011

Have you played Scramble on facebook or on the iphone?

It’s a fun word game and I love word games. I needed a break from work, so I decided to write this nifty little cheating program. Here’s how it works: As soon as you start a new game, you enter the letters on your gameboard into the text field (starting from top left… row by row). You press “Solve” and it gives you all the different word combos. This was a pretty fun program to code. You can easily get lost in nested loop searches or make little programming blunders that can be computationally costly. There are some additional optimizations I can implement which would speed up the code… but what’s the point?

Anyways… Here’s the cheat
and here’s the source code (written in PHP):

From → Hacks

Leave a Comment

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

%d bloggers like this: