Sha256: ad48e8f16bc6056f75e63a4944e7c8fc3748941430246682847c0726bc8785ab
Contents?: true
Size: 535 Bytes
Versions: 1
Compression:
Stored size: 535 Bytes
Contents
module EulersDayOff def self.random_letters LetterGenerator.new.generate end def self.score(board) Scorer.new(word_list).score(board) end private def self.word_list @word_list ||= begin path = File.expand_path("../word_list.txt", __FILE__) WordLoader.new(path).populate_word_list end end end require 'eulers_day_off/letter_generator' require 'eulers_day_off/word_list' require 'eulers_day_off/word_loader' require 'eulers_day_off/scorer'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eulers_day_off-0.1.0 | lib/eulers_day_off.rb |