def word=(word)
      raise GameError, "word can't be blank" unless word.length > 0
      raise GameError, "word to guess can't have whitespaces. Use only one word." if word.match(/\s/)
      @word = word
    end
def word=(word)
      raise GameError, "word can't be blank" unless word.length > 0
      raise GameError, "word to guess can't have whitespaces. Use only one word." if word.match(/\s/)
      @word = word
    end
Builder
 Methods