Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

24 Commits

Folders and files

Repository files navigation

Word Scramble

This gem is for generating real words from scrambled strings. I wrote it to solve a puzzle that they passed out in the Virgin Airlines waiting lounge when the flight was delayed.

Installation

Add this line to your application's Gemfile:

gem 'word_scramble'

And then execute:

$ bundle

Or install it yourself as:

$ gem install word_scramble

This has been tested on Ubuntu and OS X.

Usage

You can use it from the command line, like this

descramble <word>

Or you can call the Descrambler library directly

descrambler = WordScramble::Descrambler.new("liopts")
descrambler.matching_words # => ["pilots", "spoilt", "pistol"]

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Some other section

This is just to see how Tower works.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages