Skip to content

Instantly share code, notes, and snippets.

@RJNY
RJNY / 0.2.1-boggle_class_from_methods.rb
Created February 20, 2014 22:16 — forked from dbc-challenges/0.2.1-boggle_class_from_methods.rb
phase 0 unit 2 week 1 boggle class challenge
# Solo Challenge (Unit 2, Week 4)
# Take your time to see what concepts you feel comfortable and confident with. You are welcome to conduct research online, but make sure your code represents your own work. Please refrain from asking others for help.
# Overview
# Create a class BoggleBoard that includes the functionality of your methods from the previous challenge.
# To do this, take a look at the methods you've created. How can they be integrated into your BoggleBoard class? What needs to change?
# 1) Instantiate a new board object
# Transform your driver code so that it creates a new board object. You'll need to pass the original 2D array as an argument (let's call that dice_grid because boggle_board is going to be an object now.)