brynnb/HTML-Tiles — pull request #5 by andrei8055 (2014-09-12 11:52:59+00:00)
Title: Update map.js

It makes more sense to me to have a 2D array where you store the Tile objects, being really easy to access any Tile without looping trough all of them and no need to pass positions as parameter for Tile constructor, but if you want you can still do it.Not sure what "Prop" is. The code is not tested, just wrote it to see the difference in complexity/lines of code