Skip to content

Instantly share code, notes, and snippets.

View akfoster's full-sized avatar

Amy Foster akfoster

View GitHub Profile
@akfoster
akfoster / 0_reuse_code.js
Created April 27, 2014 18:36
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
@akfoster
akfoster / 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
=begin
Create a class called BoggleBoard
initialize should accept an argument(board) and set an instance variable(@boggle_board) equal to the argument
create_word should accept coordinates(coords) as arguments - for each coordinate, should take the
letter from the board and then join the letters together
get_row should return the array at the index given as the argument(row)
get_col should return an array with letters from each array at the index given by the argument(col)