Skip to content

Instantly share code, notes, and snippets.

View epchalfant's full-sized avatar

Elliot Chalfant epchalfant

View GitHub Profile
@epchalfant
epchalfant / jquery_example.html
Created December 19, 2013 22:27 — forked from dbc-challenges/jquery_example.html
Intro to jQuery for Phase 0
<!DOCTYPE html>
<html>
<head>
<title>DOM manipulation with jQuery</title>
<!-- Add a link to jQuery CDN here script here -->
<script type="text/javascript" src="jquery_example.js"></script>
</head>
<body>
@epchalfant
epchalfant / 0.2.1-boggle_class_from_methods.rb
Created November 15, 2013 04:24 — forked from dbc-challenges/0.2.1-boggle_class_from_methods.rb
phase 0 unit 2 week 1 boggle class challenge
class BoggleBoard
#your code here
end
dice_grid = [["b", "r", "a", "e"],
["i", "o", "d", "t"],
["e", "c", "l", "r"],
@epchalfant
epchalfant / boggle_class
Last active December 28, 2015 04:19 — 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 :board
def initialize(board)
@board = board
end
def create_word(*letter_coord)
letter_coord.map do |coord|
@board[coord.first][coord.last]