Shop More Submit  Join Login
×



Details

Submitted on
February 14, 2008
Image Size
651 KB
Resolution
320×60
Link
Thumb
Embed

Stats

Views
1,646
Favourites
5 (who?)
Comments
15
Downloads
21
×
I'm making a word game (scrabulous-type) in flash named 'Spellbound' that checks the dictionary (TWL based) if the word is meaningful or not.

It uses a three-dimensional array object 'dictionary' containing a total of 178,691 elements.
eg.
dictionary[0][0][0] = "AA"
dictionary[25][13][0] = "ZOOGEOGRAPHICAL"

It uses binary (logarithmic) search algorithm for arrays larger than 32 elements in length and linear search algorithm for the rest.

:salute: Hats off to wiki! [link]
Add a Comment:
 
:iconpunkykoolkat:
Punkykoolkat Featured By Owner Feb 16, 2008
LOVE IT!!Though I'll need to use ur dictionary to understand ur comments:O
Reply
:iconhimanshu-kapoor:
himanshu-kapoor Featured By Owner Feb 17, 2008  Student General Artist
:giggle:
Reply
:icontamasha:
Tamasha Featured By Owner Feb 15, 2008  Hobbyist Digital Artist
Ara? I actually understood some of the artist's comments this time. XD We did arrays and algorithms in Java!
Reply
:iconhimanshu-kapoor:
himanshu-kapoor Featured By Owner Feb 15, 2008  Student General Artist
Ever did an array containing 178,691 elements? :D

use this code:

for(i=0; i<178691; i++) {
if (word = dictionary[i]) output.text = "valid word"
}

your pc's butt will get kicked! xD
Reply
:icontamasha:
Tamasha Featured By Owner Feb 15, 2008  Hobbyist Digital Artist
I like my PC's butt just the way it is, thank you! *huggles PC* 'Sides, I dropped Java after Class 10. XD
Reply
:icontamasha:
Tamasha Featured By Owner Feb 15, 2008  Hobbyist Digital Artist
Ara? I actually understood some of the artist's comments this time. XD We did arrays and algorithms in Java!
Reply
:iconsquishymabobz:
SQuiShyMaBoBz Featured By Owner Feb 14, 2008
"tyrannosaurus"

"scrabulous"

not found in US dictionary...

awww man D:

lol :giggle: cool ^o^
Reply
:iconhimanshu-kapoor:
himanshu-kapoor Featured By Owner Feb 15, 2008  Student General Artist
i wrote the code, not the dictionary xD
Reply
:icondark-angelvegeta:
dark-angelvegeta Featured By Owner Feb 14, 2008
cool!
Reply
:iconklaber:
Klaber Featured By Owner Feb 14, 2008  Professional Traditional Artist
cool, i'll use this in my online scrabble games!
Reply
Add a Comment: