0.0
No commit activity in last 3 years
No release in over 3 years
scrabblestuff is a simple scrabble solver gem with a default WWF dictionary.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0
~> 2.0.1
~> 3.12
 Project Readme

scrabblestuff

Simple scrabble solver gem for ruby/rails

based on the algorithm used by https://github.com/samwho/scrabble-solver

Installation

scrabblestuff is hosted at rubygems.org

gem install scrabblestuff

Usage

solver = Scrabble::Solver.new
solver.load_dictionary
solver.find("astrd").sort { |x,y| x.length <=> y.length }
=> ["at", "ad", "as", "ta", "ar", "ads", "ars", "art", "tas", "tar", "tad", "sat", "sad", "rad", "rat", "ras", "rats", "rads", "sard", "drat", "star", "tads", "arts", "tars", "dart", "trad", "tsar", "darts", "drats"]

Copyright

Copyright © 2014 Cody Barr. See LICENSE.md for further details.