This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Game Development and the fly likes Wordchallenge Cheat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Game Development
Bookmark "Wordchallenge Cheat" Watch "Wordchallenge Cheat" New topic
Author

Wordchallenge Cheat

Xabier Martija
Ranch Hand

Joined: Jul 18, 2007
Posts: 40
hi , I have developed a wordchallenge cheat in java. It worked fine for me and got 55.000 and first of my rank. The bad think is that it removed my rank without cheating, and it was not too bad( 13.000 Spanish).

The code anyway is quite interesting:
-I used some collections features. Good for practicing.
-Robot class to output the generated anagrams to the keyboard port. It´s funny when starts typing all the words into other programms(f.e. eclipse) if you don´t switch the window fast enough , but you have 3 seconds to switch.
-string permutation

Note: my dictionary(list of words) was not very good , look for a good one with plurals ,conjugations(go, goes, went,gone) . The bigger the better.

hope you like it:

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Wordchallenge Cheat