--nextPart5383656.7x0zoIkBIs
Content-Type: multipart/mixed;
  boundaryoundary-01/OoFcloq9N5gzb"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--Boundary-01/OoFcloq9N5gzb
Content-Type: text/plain;
  charsettf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

This is my first ruby program that actually does all it's supposed to do. It 
doesn't have a lot of style, but hopefully my next programs will look better. 
The wordlist is from wordlist.sourceforge.net and the first part of the 
program reads the word.lst file and puts all the words in an array.

Hope it does what it's supposed to do, as i couldn't see the texttwist on 
yahoo.
I'm also attaching the Unnoficial Jargon File Wordlist word.lst file.

-Ionuţ Arţrii



--Boundary-01/OoFcloq9N5gzb
Content-Type: application/x-ruby;
  nameexttwist.rb"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filenameexttwist.rb"

### getting words from the list in word.lst
# assuming that each word in the file is on a different line
# and using the Unofficial Jargon File Word Lists from http://wordlist.sourceforge.net
#
f  ile.open("word.lst", "r")
fi  .read.gsub("\n", " ").scan(/\w+/).to_a
f.close
allwords  rray.new
fi.each {|word| (if ((word.length > ) and (word.length < ))
                    allwords << word.upcase
                 end)
}
## now they're all in an array
gwords  rray.new
n  
while n > 2 do
  gwords[n]  rray.new
  allwords.each {|word| (if (word.scan(/./).length n) 
                  gwords[n] << word
                 end) 
  }
  gwords[n].collect{|c| c.upcase!}
  n - 
end
# code above sorts words with n letters into gwords[n]

i  
score  
star  "
while (i 1) do
  puts "Pick a number between 0 and " + gwords[6].length.to_s
  m  ets.chop
  if (m ! ")
    n  .to_i
    wordie  words[6][n].to_s.scan(/./).sort_by{rand}.to_s.upcase # word scramble
   
    puts "You have chosen the word: "  + wordie
    foo  
    all  llwords.dup
    while (foo 0)
 
      puts "Form words! Type EXIT0 to pick another word."
 
      guess  ets.chop.upcase
      o  
      while (o < guess.length) # tests if the letters used are legal
        guessy  uess.dup
        gwords[6][n].to_s.scan(/./).collect{|e| (guessy  uessy.sub(e , ""))}
        o + 
        
      end
        if guessy ""
          if (all.include? guess) # tests if the guess is in the wordlist
              all.delete(guess)
              score + uess.length
              puts "Your score is now: " + score.to_s  
          
               if (guess gwords[6][n]) #tests and rewards if the guess is the original word
                 star << "*"
                 foo  337
                 puts " and you have " + star + " stars."
               end
          elsif (guess "EXIT0")
             foo  337
          else
            puts "Incorrect! Try Again!"
          end
        
        elsif (guess "EXIT0")
          foo  337
        else 
         puts "The letters used were illegal."
        end  
    

    end
    gwords[6].delete_at(n)
  else 
    i  
    puts "Your final score was: " + score.to_s + " and you have gathered " + star + " stars. (One star for each original 6 letter word.)"
  end
end
















--Boundary-01/OoFcloq9N5gzb
Content-Type: text/plain;
  charsettf-8";
  nameord.lst"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filenameord.lst"

AFAIK
AFAIKs
AI
AIDS
AIDSes
AIs
ANSI
ANSIs
ASCII
ASCIIs
Ada
Adas
Amiga
BASIC
BASICs
BBS
BBSes
BITNET
BITNETs
BLT
BLTs
BSD
BSDs
Borg
Borgs
C
COBOL
COBOLs
Cs
DDT
DDTs
DEC
DECed
DECing
DECs
DP
DPs
Datamation
Datamations
Dilbert
Dilberts
English
Englishes
Eris
Erises
FAQ
FAQs
FM
FMs
FUD
FUDs
G
GIGO
Guido
IBM
IMHO
Internet
Internets
Java
K
Knuth
Knuths
Ks
Linus
Linux
Linuxes
M
MEGO
MEGOs
MIPS
MIPSes
Mars
Marses
Microsoft
Multics
Multicses
N
NeWS
NeWSes
OS
OSes
OTOH
PARC
PARCs
PD
PM
PMed
PMing
PMs
Pascal
Pascals
Pentium
Pentiums
Perl
Perls
Python
QWERTY
RFC
RFCs
RTFM
RTFMed
RTFMing
RTFMs
SO
SOS
SOSes
SOs
Sun
Suns
T
TELNET
TELNETTed
TELNETTing
TELNETs
TeX
TeXes
URL
URLs
Unix
Unixes
Usenet
Usenets
VAX
VAXes
WYSIWYG
Winchester
Winchesters
X
Xes
YMMV
abbrev
abbrevs
accumulator
accumulators
acolyte
acolytes
admin
admins
alt
alts
amoeba
amoebae
amoebas
app
apps
arena
arenas
asbestos
atomic
avatar
avatars
backgammon
background
backgrounds
bandwidth
bandwidths
bang
bangs
banner
banners
bar
barf
barfed
barfing
barfs
barn
barney
barneys
barns
baroque
bars
batch
baud
bauds
bazaar
bazaars
beam
beamed
beaming
beams
beep
beeps
benchmark
benchmarks
beta
betas
bible
bibles
biff
biffed
biffing
biffs
bigot
bigots
bit
bits
blast
blasted
blasting
blasts
blat
blats
blink
blinked
blinking
blinks
blivet
blivets
block
blocked
blocking
blocks
boa
board
boards
boas
bob
bobs
bogus
boink
boinked
boinking
boinks
bomb
bombed
bombing
bombs
boot
booted
booting
boots
bot
bounce
bounced
bounces
bouncing
boustrophedon
boustrophedons
box
boxen
boxes
break
breaking
breaks
brittle
brittler
brittlest
broke
broken
browser
browsers
bug
bugs
bulletproof
bum
bummed
bumming
bump
bumped
bumping
bumps
bums
burble
burbled
burbles
burbling
buzz
buzzed
buzzes
buzzing
byte
bytes
calculator
calculators
can
canned
canning
canonical
cans
cascade
cascades
cat
catatonic
cathedral
cathedrals
cats
catted
catting
chad
chads
chain
chained
chaining
chains
channel
channels
char
chars
check
checks
cheerfully
chemist
chemists
choke
choked
chokes
choking
chomp
chomped
chomper
chompers
chomping
chomps
chrome
chromes
chug
chugged
chugging
chugs
clean
cleaned
cleaner
cleanest
cleaning
cleans
clobber
clobbered
clobbering
clobbers
clock
clocked
clocking
clocks
clone
cloned
clones
cloning
coaster
coasters
code
codes
compact
compacter
compactest
compo
compos
compress
compressed
compresses
compressing
con
condom
condoms
confuser
confusers
cons
consed
conses
consing
console
consoles
cookbook
cookbooks
cookie
cookies
copper
coppers
core
cores
cowboy
cowboys
cracker
crackers
cracking
crackings
crank
cranked
cranking
cranks
crash
crashed
crashes
crashing
cray
crayola
crayolas
crayon
crayons
crays
creationism
creationisms
creep
creeping
creeps
crept
cretin
cretinous
cretins
crippleware
cripplewares
crock
crocks
crumb
crumbs
crunch
crunched
crunches
crunching
cube
cubes
cubing
cubinged
cubinging
cubings
cyberpunk
cyberpunks
cyberspace
cyberspaces
cycle
cycled
cycles
cycling
daemon
daemons
dd
dded
dding
dds
dead
deader
deadest
deadlock
deadlocks
decay
decays
deckle
deckles
defenestration
defenestrations
delta
deltas
demented
demigod
demigods
demo
demoed
demoing
demon
demons
demos
deprecated
diddle
diddled
diddles
diddling
die
died
dies
diff
diffed
diffing
diffs
digit
digits
dike
diked
dikes
diking
ding
dings
dink
dinker
dinkest
dinosaur
dinosaurs
disclaimer
disclaimers
distribution
distributions
doc
docs
documentation
documentations
dodgier
dodgiest
dodgy
dongle
dongles
donuts
donutses
doorstop
doorstops
down
downed
downing
download
downloaded
downloading
downloads
downs
dragon
dragons
drain
drained
draining
drains
driver
drivers
droid
droids
drone
drones
drugged
drum
drums
dump
dumps
dying
earthquake
earthquakes
echo
echoes
echos
ed
eds
elegant
elephantine
elite
elvish
elvishes
email
emailed
emailing
emails
emoticon
emoticons
empire
empires
engine
engines
enhancement
enhancements
epoch
epochs
epsilon
epsilons
erotics
eroticses
evil
eviler
evilest
eviller
evillest
excl
excls
exec
execked
execking
execs
exploit
exploits
factor
factors
fairings
fairingses
fan
fans
faradize
faradized
faradizes
faradizing
farming
farmings
fascist
faultier
faultiest
faulty
feature
features
fence
fences
filter
filters
fine
finer
finest
finger
fingered
fingering
fingers
firefighting
firefightings
firmware
firmwares
fish
fishes
fix
fixes
flag
flags
flakier
flakiest
flaky
flame
flamed
flamer
flamers
flames
flaming
flap
flapped
flapping
flaps
flat
flatten
flattened
flattening
flattens
flatter
flattest
flavor
flavorful
flavors
flippies
flippy
flood
flooded
flooding
floods
flowchart
flowcharts
flush
flushed
flushes
flushing
flytrap
flytraps
followup
followups
foo
fool
fools
footprint
footprints
fora
foreground
foregrounded
foregrounding
foregrounds
forked
forum
forums
fossil
fossils
frag
fragile
fragiler
fragilest
frags
freeware
freewares
freeze
freezes
freezing
fried
fries
frog
frogging
frogginged
frogginging
froggings
frogs
froze
frozen
fry
frying
fudge
fudged
fudges
fudging
fum
fums
funkier
funkiest
funky
fuzzball
fuzzballs
gag
gagged
gagging
gags
gas
gaseous
gases
gassed
gasses
gassing
gen
generate
generated
generates
generating
gens
gig
gigs
gillion
gillions
glass
glasses
glitch
glitched
glitches
glitching
glob
globed
globing
globs
glue
glues
gnarlier
gnarliest
gnarly
gobble
gobbled
gobbles
gobbling
golden
goldener
goldenest
gonk
gonked
gonking
gonks
gonzo
gopher
gophers
gorp
gorps
gotcha
gotchas
gribble
gribbles
grind
grinding
grinds
grok
grokked
grokking
groks
ground
grovel
groveled
groveling
grovelled
grovelling
grovels
grue
grues
grunge
grunges
gun
gunned
gunning
guns
guru
gurus
h
hack
hacked
hacker
hackers
hacking
hacks
hair
hairball
hairballs
hairier
hairiest
hairs
hairy
hammer
hammered
hammering
hammers
hamster
hamsters
handle
handles
handshaking
handshakings
hang
hanged
hanging
hangs
happily
hardwired
hat
hats
heartbeat
heartbeats
heavyweight
hex
hexadecimal
hexadecimals
hexes
highly
hing
hings
hirsute
hoarding
hoardings
hobbit
hobbits
hog
hogs
hole
holes
hook
hooks
hop
hopped
hopping
hops
hose
hosed
hoses
hosing
hotlink
hotlinks
huff
huffed
huffing
huffs
hung
hyperspace
hyperspaces
ice
ices
idempotent
inc
incantation
incantations
inced
incing
include
included
includes
including
incs
infinite
infinities
infinity
inflate
inflated
inflates
inflating
interesting
interrupt
interrupts
intro
intros
iron
ironmonger
ironmongers
irons
jaggies
jaggieses
jello
jellos
jiffies
jiffy
jock
jocks
kahuna
kahunas
ken
kens
kick
kicked
kicking
kicks
kit
kits
kludge
kludged
kludges
kludging
kluge
kluged
kluges
kluging
knobs
koan
koans
lag
lags
lamer
lamers
lase
lased
lases
lasing
laundromat
laundromats
leak
leaks
leech
leeches
legal
legalese
legaleses
letterbomb
letterbombs
life
lightweight
lint
linted
linting
lints
live
liver
lives
livest
liveware
livewares
lobotomies
lobotomy
logical
lose
loser
losers
loses
losing
loss
losses
lost
lurker
lurkers
machinable
macro
macrologies
macrology
macros
magic
magics
mailbomb
mailbombed
mailbombing
mailbombs
mainframe
mainframes
management
managements
manged
mangeds
mangle
mangled
mangler
manglers
mangles
mangling
marbles
marginal
marginally
martian
martians
massage
massaged
massages
massaging
meg
megs
meme
memes
meta
mickey
mickeys
microfloppies
microfloppieses
minifloppies
minifloppieses
misfeature
misfeatures
mockingbird
mockingbirds
mod
modded
modding
mode
modes
mods
modulo
monstrosities
monstrosity
mu
multitask
multitasks
mumble
munch
munched
munches
munching
munchkin
munchkins
mundane
mundanes
mung
munged
munging
mungs
music
musics
mutter
muttered
muttering
mutters
naive
naiver
naivest
nanobot
nanobots
nanotechnologies
nanotechnology
nature
natures
neophilia
neophilias
nerd
nerds
netiquette
netiquettes
netter
netters
newbie
newbies
newsgroup
newsgroups
nick
nickle
nickles
nicks
noddy
node
nodes
nonlinear
nontrivial
notwork
notworks
nude
nuder
nudest
nuke
nuked
nukes
nuking
numbers
numberses
nybble
nybbled
nybbles
nybbling
nyetwork
nyetworks
obscure
obscurer
obscurest
offline
op
open
opens
ops
optimism
optimisms
orphan
orphans
orthogonal
overrun
overruns
parse
parsed
parses
parsing
pastie
pasties
patch
patched
patches
patching
path
pathological
paths
payware
paywares
peek
peeks
peon
peons
pessimal
pessimaled
pessimaling
pessimals
phage
phages
phase
phases
phreaking
phreakings
ping
pinged
pinging
pings
pipe
pipes
pistol
pistols
playpen
playpens
plonk
plonked
plonking
plonks
plumbing
plumbings
pod
pods
poke
pokes
poll
polled
polling
polls
pop
popped
popping
pops
poser
posers
post
posted
posting
postings
postmaster
postmasters
posts
priesthood
priesthoods
print
printed
printing
prints
profile
profiles
program
programming
programmings
programs
proprietary
protocol
protocols
prowler
prowlers
pseudo
pseudos
puff
puffed
puffing
puffs
punt
punted
punting
punts
push
pushed
pushes
pushing
quad
quads
quantifiers
quarter
quarters
ques
queses
quine
quines
quotient
quotients
random
randomness
randomnesses
randoms
rape
raped
rapes
raping
rave
raved
raves
raving
real
realer
realest
reaper
reapers
recursion
recursions
replicator
replicators
replies
reply
restriction
restrictions
rip
ripoff
ripoffs
ripped
ripping
rips
roach
roached
roaches
roaching
robot
robots
robust
robuster
robustest
rococo
rogue
rogues
root
roots
rude
ruder
rudest
runes
runic
sacred
saga
sagas
said
salt
salts
samizdat
samizdats
samurai
samurais
sandbox
sandboxes
say
saying
says
scag
scagged
scagging
scags
scratch
scratched
scratches
scratching
screen
screens
screw
screws
scribble
scribbles
scrog
scrogged
scrogging
scrogs
segment
segmented
segmenting
segments
selvage
selvages
semi
semis
server
servers
shareware
sharewares
shebang
shebangs
shell
shells
shim
shims
showstopper
showstoppers
shriek
shrieks
sidecar
sidecars
silicon
silicons
silo
silos
skulker
skulkers
slab
slabbed
slabbing
slabs
slack
slacks
slash
slashes
sleep
sleeping
sleeps
slept
slim
slims
slop
slops
slurp
slurped
slurping
slurps
smart
smarter
smartest
smiley
smileys
smoke
smoked
smokes
smoking
smurf
smurfs
snail
snailed
snailing
snails
snap
snapped
snapping
snaps
snarf
snarfed
snarfing
snarfs
snark
snarks
sneaker
sneakers
sniff
sniffed
sniffing
sniffs
softies
softy
spam
spammed
spamming
spams
spangle
spangles
spawn
spawns
speedometer
speedometers
spell
spells
spiffier
spiffiest
spiffy
spike
spiked
spikes
spiking
spin
spinning
spins
splat
splats
spoiler
spoilers
sponge
sponges
spoof
spoofed
spoofing
spoofs
spool
spooled
spooling
spools
spun
stack
stacks
state
states
stoppage
stoppages
store
stores
stroke
strokes
strudel
strudels
studlier
studliest
studly
stunning
suit
suits
sunspots
sunspotses
support
supports
surf
surfed
surfing
surfs
swab
swabbed
swabbing
swabs
swap
swapped
swapping
swaps
swizzle
swizzled
swizzles
swizzling
sync
syncs
sysop
sysops
system
systems
tanked
taste
tastes
tee
tees
tense
tenser
tensest
tentacle
tentacles
test
tests
text
texts
theologies
theology
theories
theory
thrash
thrashed
thrashes
thrashing
thread
threads
thud
thuds
thumb
thumbs
thunk
thunks
tick
ticks
toad
toadded
toadding
toads
toast
toasted
toaster
toasters
toasting
toasts
toggle
toggled
toggles
toggling
tool
tooled
tooling
tools
tourist
touristic
tourists
toy
toys
trampoline
trampolines
trap
trapped
trapping
traps
trash
trashed
trashes
trashing
trawl
trawled
trawling
trawls
trivial
troglodyte
troglodytes
troll
trolled
trolling
trolls
tron
tronned
tronning
trons
tube
tubes
tune
tuned
tunes
tuning
tweak
tweaked
tweaking
tweaks
tweeter
tweeters
twiddle
twiddled
twiddles
twiddling
twink
twinks
uninteresting
up
upload
uploaded
uploading
uploads
upped
upping
ups
urchin
urchins
user
users
vanilla
vaporware
vaporwares
var
vars
verbiage
verbiages
videotex
videotexes
virgin
virtual
virus
viruses
visionaries
visionary
voice
voiced
voices
voicing
wabbit
wabbits
waldo
waldoes
waldos
walk
walks
wall
walled
walling
wallpaper
wallpapers
walls
wank
wanked
wanking
wanks
wannabee
wannabees
warez
warezes
wart
warts
weasel
weasels
wedged
wedgie
wedgies
weeds
weedses
weenie
weenies
wetware
wetwares
whack
whacked
whacker
whackers
whacking
whacks
whales
whaleses
wheel
wheels
widget
widgets
wiggles
wiggleses
win
winner
winners
winning
wins
wired
wireds
wizard
wizardly
wizards
womble
wombles
won
wonkier
wonkiest
wonky
woofer
woofers
workaround
workarounds
worm
wormhole
wormholes
worms
zap
zapped
zapping
zaps
zen
zenned
zenning
zens
zero
zeroed
zeroes
zeroing
zeros
zeroth
zigamorph
zigamorphs
zip
zipped
zipping
zips
zombie
zombies
zorch
zorched
zorches
zorching

--Boundary-01/OoFcloq9N5gzb--

--nextPart5383656.7x0zoIkBIs
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQBFoO/WJRmulx2zJOARArIJAJ4wHYy+m06mUr6eJimOXCYW3Frh1wCfVRwV
58cRuRlhVne0tB3yC/pXKjQAx
-----END PGP SIGNATURE-----

--nextPart5383656.7x0zoIkBIs--