TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: I've added undo and redo to IsoCity

42 pointsby atum477 months ago

3 comments

mtlynch7 months ago
Suggestion if you want people to look at your code (which I&#x27;m assuming you do since you linked to the PR): make whitespace changes in a separate commit from functional changes.[0]<p>This PR is a 50-line diff, but only about 8 lines are <i>real</i> changes. The rest are just whitespace changes that seem to have nothing to do with the feature you added.<p>IsoCity&#x27;s neat. My suggestion for the functionality would be to make it easier for the user to join roads together. I drew roads at a 90-degree angle expecting the game to auto-join them, but it turns out I have to go find the right 90-degree tile to do it manually.<p>[0] <a href="https:&#x2F;&#x2F;mtlynch.io&#x2F;code-review-love&#x2F;#6-separate-functional-and-non-functional-changes" rel="nofollow">https:&#x2F;&#x2F;mtlynch.io&#x2F;code-review-love&#x2F;#6-separate-functional-a...</a>
评论 #41831764 未加载
评论 #41830664 未加载
评论 #41832253 未加载
评论 #41830898 未加载
评论 #41831487 未加载
paulgb7 months ago
Neat, the URL uniquely encodes the map state. Here&#x27;s a maze I made:<p><a href="https:&#x2F;&#x2F;victorribeiro.com&#x2F;isocity&#x2F;#KQIXEikNDSYlGCQoKScpHB0pFiMDJhYnJgICKCklAyQCAicUGSYFJyIPJg0NDSgJKA==" rel="nofollow">https:&#x2F;&#x2F;victorribeiro.com&#x2F;isocity&#x2F;#KQIXEikNDSYlGCQoKScpHB0pF...</a>
atum477 months ago
Yeah, it&#x27;s a Friday night and I don&#x27;t have anything fun to do, so I have just added undo and redo on IsoCity [1]. Hope you like it<p>1 - <a href="https:&#x2F;&#x2F;victorribeiro.com&#x2F;isocity&#x2F;" rel="nofollow">https:&#x2F;&#x2F;victorribeiro.com&#x2F;isocity&#x2F;</a>
评论 #41830960 未加载