4 ms·
I was just looking at the source code, it appears `map` is a global variable that is a 7x7 grid representing your current city (49 arrays of `[0,0]` by default)
by kfarr 7y ago
I was just looking at the source code, it appears `map` is a global variable that is a 7x7 grid representing your current city (49 arrays of `[0,0]` by default). This could be serialized to a URL hash that could be shared.
source: https://github.com/victorqribeiro/isocity/blob/master/js/main.js#L17 https://github.com/victorqribeiro/isocity/blob/master/js/mai...