Skip to content

Instantly share code, notes, and snippets.

@midorineko
midorineko / 0_reuse_code.js
Created June 6, 2014 18:33
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@midorineko
midorineko / 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
#my goal is to save the grid in initialize
#then refer to the grid directly, thus removing one of my necessary variables to call
#I liked the math simon and I developed so I want to keep that as similar as possible
dice_grid = [["b", "r", "a", "e"],
["i", "o", "d", "t"],
["e", "c", "l", "r"],
["t", "a", "k", "e"]]
class BoggleBoard
def initialize(dice_grid)