Back to front pageView on Hacker News (opens in a new tab)Show HN: A tiny isometric city builder in JavaScript (opens in a new tab)github.com593 pointsby atum47 (on Hacker News)6 years agogithub.com (opens in a new tab)GitHub - victorqribeiro/isocity: A isometric city builder in JavaScriptA isometric city builder in JavaScript. Contribute to victorqribeiro/isocity development by creating an account on GitHub.Comments (104) 34 threadsShow all commentsShowing thread 19 of 34[-]mLuby6 years ago3 replies#Super cool! Anyone recognize what this makes? map=Array(7).fill(Array(7).fill(3)).map((a,i)=>a.map((x,n)=>[0,i>3&&n<3?1:3]));drawMap()[-]jdauriemma6 years ago1 reply#Can you be more specific?[-]atum476 years ago1 reply#https://victorribeiro.com/isocity/#AwMDAwMDAwMDAwMDAwMDAwMDA...mLuby6 years ago#Oh awesome, the one-liner was because I didn't see how to save/share a design.thinkingkong6 years ago#That creates a pre-filled two dimensional array as a one-liner.atum476 years ago#nice
Show HN: A tiny isometric city builder in JavaScript (opens in a new tab)github.com593 pointsby atum47 (on Hacker News)6 years ago
mLuby6 years ago3 replies#Super cool! Anyone recognize what this makes? map=Array(7).fill(Array(7).fill(3)).map((a,i)=>a.map((x,n)=>[0,i>3&&n<3?1:3]));drawMap()
Comments (104) 34 threads
Show all comments
Showing thread 19 of 34