Skip to content

Instantly share code, notes, and snippets.

View michaelanthonymain's full-sized avatar
💭
Set status

Michael Main michaelanthonymain

💭
Set status
  • Built In
  • Chicago
View GitHub Profile
@michaelanthonymain
michaelanthonymain / _.md
Created October 2, 2014 15:18
cohort-view
@michaelanthonymain
michaelanthonymain / _.md
Last active August 29, 2015 14:07
cohort view
@michaelanthonymain
michaelanthonymain / 0.2.1-boggle_class_from_methods.rb
Last active January 3, 2016 04:09 — forked from dbc-challenges/0.2.1-boggle_class_from_methods.rb
phase 0 unit 2 week 1 boggle class challenge
class BoggleBoard
attr_reader :dice_grid
def initialize(dice_grid)
@dice_grid = dice_grid
end
def create_word(*coords)
coords.map { |coord| @dice_grid[coord.first][coord.last]}.join("")
end