This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=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) |