Skip to content

Instantly share code, notes, and snippets.

View boneseggsbones's full-sized avatar

John boneseggsbones

View GitHub Profile
@boneseggsbones
boneseggsbones / 0.2.1-boggle_class_from_methods.rb
Last active August 29, 2015 13:56 — forked from dbc-challenges/0.2.1-boggle_class_from_methods.rb
phase 0 unit 2 week 1boggle class challenge
class BoggleBoard
def initialize(two_d_boggle_array)
@two_d_boggle_array = two_d_boggle_array
end
def create_word(two_d_boggle_array, *coords)
coords.map { |coord| two_d_boggle_array[coord.first][coord.last]}.join("")
end
def get_row(row)