Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  Word Twister 4k  (Read 2143 times)
0 Members and 2 Guests are viewing this topic.
Offline halfwitgoat

Jr. Member
**

Posts: 62



« on: 2008-12-21 14:56:33 »

A basic clone of Text Twist. Find as many words as possible from the letters given. Longer words score more points and there is a bonus for finding all words in one round. Find the six-letter
word to progress to the next round. There are 50 rounds in total.

Word Twister 4k



Andy.

Offline zeroone

Sr. Member
**

Posts: 295
Medals: 10



« Reply #1 on: 2009-03-08 17:12:53 »

Very fun game.  You must have stored a lot of strings in there.  Unfortunately, I stink at this game!  It’s kind of like scrabble.  Just shows me how bad I am at finding simple words.  Cool game though.
Offline halfwitgoat

Jr. Member
**

Posts: 62



« Reply #2 on: 2009-03-09 15:22:45 »

There are about 1000 words in total, packed into a big string:

1  
"ace3s2id4ly2re2t..."


To compress things a little, words are separated by numbers which show how many letters they inherit from the previous word. Thus
ace
(ace)s
(ac)id
(acid)ly
...

It zips up nicely. I tried various other ideas for further compression but none were worth the lines needed for decoding.

You might also notice that no words have duplicate letters. This simplified the algorithm for listing the shorter words.

Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.065 seconds with 19 queries.