Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jwolfe
on Dec 1, 2021
|
parent
|
context
|
favorite
| on:
Townscaper Running in the Browser
Couldn't it be as simple as a list of (color, x, y, z) (base64 encoded) in the fragment? URL fragments can get really long.
Not sure what you'd need a look up key for.
namdnay
on Dec 1, 2021
[–]
The lookup key would be if the backend stores all the generated towns, and you're just referencing them. But I think simple encoding as you say is more probable
slingnow
on Dec 1, 2021
|
parent
[–]
And how exactly would you represent these hypothetical stored towns?
Probably with a simple encoding.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Not sure what you'd need a look up key for.