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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>DOM manipulation with jQuery</title> | |
| <!-- Add a link to jQuery CDN here script here --> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
| <script type="text/javascript" src="jquery_example.js"></script> | |
| </head> | |
| <body> |
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
| # 1) Instantiate a new board object. How does the boggle_board object hold the dice_grid? | |
| #Psudocode | |
| # Input: BoggleBoard class takes in a 2-dimensional array of letters as a parameter, | |
| # #create_word takes in a series of coordinates as a parameter, #get_row & #get_col take | |
| # in a row/column number respectively as a parameter. | |
| # Output: #initialize returns the dice_grid, #create_word returns a string made up of the | |
| # letters at the respective coordinates, #get_row returns a string made up of the letters in | |
| # the row that was passed in as a parameter, #get_col returns a string made up of the letters |