Root commit
Added local instances of jquery and d3 for offline development
moved graph initialization out of mines.js into index.html
Figured out random array construction.
Added bomb setting
Added n_bombs input element, using external stylesheet to handle form layout
Removed unused rule from css
Stacked form elements on top of svg for better layout, made bomb setting interactive/on-the-fly relative to form input
Added placeholder css to demonstrate bomb styling
SVG resizes relative to window
Added zoom functionality
Removed unnecessary console.log call
Attempted to remove singleton nodes from graph. Doesn't work perfectly. Really want to enforce a single connected component. I'll deal with that later.
Reordered library imports to have external d3 and jquery libraries override local
Repaired drag behavior (which broke with addition of zoom functionality)
Limited zoom depth
Shortened container div for form to make it easier to grab and manipulate svg without accidentally clicking into the form div (which previously spanned the width of the page)
Bomb degree calculations
Moved bomb-specific functions out of buildgraph.js and into own module (bombs.js). Renamed mines.js to game.js for clarity.
Forgot to add bombs.js in last commit