Turned bombs into key/value pairs instead of an array. Refactored all methods that used that uses the new objects (which was a lot of methods). Created the flagBlock function to DRY up the click function. Updated displayNumberOfBombsLeft to update with any flags clicked on. All flags work well. Created didYouWin function that checks whether all nonBombs are cleared after each click. This tells the user they won whenever they do win. The biggest thing left for the functional side of things is to build the functionality that opens all the surrounding blocks of a zero block. Once I figure that out, it will be all about prettyfying it.