logoalt Hacker News

The entire city of San Francisco as a video game

260 pointsby centrospheretoday at 5:05 PM88 commentsview on HN

https://twitter.com/cdngdev/status/2091909073038082139, https://xcancel.com/cdngdev/status/2091909073038082139


Comments

jparishytoday at 9:42 PM

For any Philly ppl here, I've been making this game for a few months: https://cityrider.jpsmaps.com/

Similar concept, but more abstract in terms of art style. I'm pretty close to having the foundation I wanted before adding quests on top; telling a story is the ultimate goal.

Building on top of GIS data is super fun though. Especially since the barrier to entry is so low these days with LLMs. I encourage everyone to give it a shot if your local town/city publishes some data. No need to understand coordinate systems for example, which is nice.

For the game, there's a button to get in without an account so you can play around, but to get the fun mods you will need to play a bit and figure out the trash pick up/scrap at dump mechanic in the game.

frankhorrigantoday at 7:01 PM

I lived in SF for nearly 20 years, though I mostly spend my time in New York now.

And genuinely this made me emotional. Was weird as hell walking around my back yard. Going to the spot in Dolo that I used to haunt in my 20s. My favorite tennis courts and hill bombs, walked the entire disc golf course, etc.

show 4 replies
nfw2today at 9:56 PM

It always seemed a missed opportunity that Microsoft Flight Simulator doesn't have a UFO mode or something where you don't need to worry about the physics of keeping the plane in the air and could just stop and look at things.

Maybe you don't need real-ish physics for the glider here. Does the user really need to fall?

jvogttoday at 8:17 PM

I have dreamed about a pipeline that can take elevation data, building data, maps, and streetview imagery to process a city into all the components you would need to build a proper map for one of the GTA engines, including all the other objects like trees, fire hydrants, signs, light posts, traffic lights, etc.

The building textures could be recreated from the low-res streetview imagery using a pipeline to scale / relight them using image-to-image models. Building shapes could be rebuilt using generative models for 3d mesh components. Road & sidewalk quality (how clean, how faded lines are, etc) could be inferred from imagery as well to be applied to the map.

Super cool project, hoping it continues to evolve!

show 1 reply
cutofftoday at 7:23 PM

This is awesome. Would definitely download a local higher-res version if that were an option, maybe using Google Street View data? Also, if this was a live MMO, that would be fun. Not that there's really a game aspect here other than the coins when driving a vehicle, but anything to give some life to the sim SF city would be nice.

Seemingly lower-hanging fruit options I'd like to see:

- show street names, maybe some landmarks or businesses, togglable

- enter address to teleport to

- enter address to get directions to, GPS style, to travel there manually

- get coordinates / current location as a URL to share

- zoom in on minimap, or expand minimap, so that teleporting can be more precise

- changeable avatar

- more dynamic weather / lighting options

kfarrtoday at 7:35 PM

This is awesome and if it's legal I'd love to do similar things on geospatial projects I work on. However I don't think Apple will be OK with this use of their data. I know that Google closely limits its 3D tiles data through a specific API and Apple does not make a 3d API available, therefore this has to be against ToS.

From the ToS linked from OP site:

> 1.3 Restrictions. You will not and will not permit or authorize a third party to: (...) (xiv) decompile, decrypt, reverse engineer, attempt to derive the source code of or disassemble the Service or any portion thereof (except as and only to the extent this restriction is prohibited by applicable law or by licensing terms governing the use of any FOSS components that may be included with the Service)

I would love for people to prove me wrong that Apple will embrace this use of their geospatial data!

josephjrobisontoday at 6:05 PM

Very amazing. And this is the worst it will ever be. We'll soon be exploring 4k versions of this and we can open every trash can in Tunis. Fascinating. Had a lot of fun (tedious tho) going out to Alcatraz and figuring out how to get in.

show 1 reply
tuchsentoday at 6:09 PM

Ah nice demo! I flew around SF for way too long just enjoying the sights. On my M3 Air using Chrome it eventually just turns into blobs and my character get stuck, takes about twenty minutes. I popped open the DevTools and the game loads in at like 400mb but after five or so minutes I'm at 2GB of memory consumption. I'd guess that you need to have your agent do a couple of passes for memory leaks. Very fun otherwise!

braptoday at 9:35 PM

This is incredible, I wish I could have this in my city.

Can’t help but wondering, how will this look like if we had AI try to “augment” these maps in real time (maybe using street view images?). I wonder if it would be playable in reasonable FPS, and how expensive it would be.

CobrastanJorjitoday at 8:30 PM

This would maybe be a pretty good opportunity to use some of that "upscaling" AI tech: given this weird results of spatial scanning, produce something plausible and much higher definition. There are some dangers of doing so, of course. People will believe details that show up in it because it's taken from real life, and AI loves adding fake details, but for a little game it seems like detail beats ground truth.

show 1 reply
gjenkinstoday at 7:32 PM

We got GTA SF before GTA 6.

show 2 replies
JKCalhountoday at 8:36 PM

'Vette was a racing game from the 90's (I think?) that covered San Francisco. "Released on 3 floppy disks", ha ha. Obviously without the rich dataset we have now. (Clicking on the following link ignores the trailing exclamation point in MacOS Safari for me.) https://en.wikipedia.org/wiki/Vette!

I did a voxel (ray casting) lunar lander that used actual NASA moon data (https://mooncraft2000.com).

show 2 replies
forthwalltoday at 5:30 PM

Kinda funny game, though if you want a bit more fidelity, but less control, Microsoft Flight Simulator has a pretty good version of SF.

Though as for games that use SF (but not 1:1) Watch Dogs 2 is a pretty good proxy, though my favorite video game interpretation of San Francisco is from GTA San Andreas (San Fierro)

show 6 replies
Aboutplantstoday at 9:12 PM

At some point someone will integrate actual interactive models of buildings and houses, based on Zillow pictures and whatnot, and then the entire thing will be interactive in a disturbing way

recursivetoday at 6:02 PM

Loading information just goes forever.

Console shows CORS violations and WebGL errors.

Firefox on Windows. Recent ThinkPad provided by my employer.

show 1 reply
ironqcoldtoday at 8:36 PM

Looks like an atmospheric explorer kinda thing. Low-poly SF where you can just wander around and take in the city, pretty chill. I dunno, I really enjoyed it

asdfman123today at 7:05 PM

I believe we're getting the hackernews hug of death.

er4hntoday at 9:13 PM

very fun game. I don't live there any longer but I "ran" the commute from my apartment to work. It felt very nostalgic to go through this.

K0INtoday at 7:45 PM

funny timing, i was exploring the same, some friends and me play alot of geogussr (a game where you put into streetview somewhere on the world, and have to find out where) lately.

I want to make it more video game like, cause the jumps of google maps make me motion sick.

I used google streetview as image source (cause you need to read signs, cars, see geometry) and colmap to reconstruct 3d chunks.

But it never really worked that well, jumps in time (cause the google car does not always continuously scan) and the image density is just too low, but was a fun side project.

arjietoday at 7:41 PM

This was loads of fun haha. I would have liked to have optionally clicked a button and started at my current physical location because the tile load time dominated how long it took to get there.

show 1 reply
atum47today at 7:29 PM

I feel like I did that walk, in person (the tourist areas for sure). I've been to SF three times now, most of the time I'm walking everywhere. Even found a place that sells Brazilian coxinha

Jeremy1026today at 6:55 PM

We got GTA SF before GTA VI.

show 1 reply
alexgyurovtoday at 8:49 PM

Could Nvidia's DLSS 5 convert this to hi-fi?

englishspottoday at 5:35 PM

my first experience with San Francisco in a video game was through the City Escape stage in Sonic Adventure 2. and I didn't even know then that it was San Francisco (I had never been there when I played the game). only realized this when I visited the city many years later.

show 3 replies
time0uttoday at 7:38 PM

This is awesome! I tried to make it to the Golden Gate, but my MBP got too hot to hold before I got there.

wahnfriedentoday at 8:36 PM

This is pirated content

fusslotoday at 5:56 PM

man what happened to loading bars?

I'm sitting here watching the block bounce in a circle and I have no idea if the game is actually loading or not. Tried turning off PopUpOff. Tried turning off adblock.

as it turns out it just isn't loading (firefox on win 11, if that matters)

show 1 reply
bengotowtoday at 6:18 PM

Ahh wow this is awesome! Is there a way to deep link to a lat/long?

tims33today at 6:17 PM

I was thinking of the game Outrun in the Red Ferrari driving around SF.

bitwizetoday at 9:04 PM

Needs a soundtrack. How about:https://m.youtube.com/watch?v=v91cvVqBwWg

aselimov3today at 6:23 PM

How do I turn the camera? Stuck with a single perspective.

show 1 reply
butliketoday at 8:31 PM

This is amazing

aeve890today at 8:52 PM

Better than Horizon Forbidden West. jk.

juancntoday at 6:47 PM

Nice, but the camera system is hard to grasp.

I cannot turn the camera for the life of me. The camera is always facing north!

Edit: I feel dumb now, I needed to click the trackpad to rotate, somehow I expected a two finger drag to move the camera :facepalm:

show 1 reply
nickandbrotoday at 5:44 PM

Crazy how they have GTA San Francisco before GTA 6

show 1 reply
arionhardisontoday at 6:20 PM

This is insanely awesome man; I turned the entire SF gov into an AI Gov. but this has really humbled me; great work dude.

system2today at 7:30 PM

We need an LA version of this.

show 1 reply
zkmontoday at 7:15 PM

Back in the 90's, there was a game called "Midtown Madness" by Microsft. They simulated SF and London very well. This game now takes it to another level.

brcmthrowawaytoday at 7:13 PM

I wish I had enough brain compute cycles to keep up with 20 year olds earning millions at OpenAI.

busymom0today at 6:22 PM

Will try on my Mac. On my iPhone, I got the spinner wheel for a while and my phone started getting hot, so I killed it.

aaroninsftoday at 6:20 PM

Chrome on MacOS: largely unusable (over fiber); POV stuck and will not move except in a tiny area.

I don't mind the lazy asset loading; I just can't go anywhere outside a couple blocks from the start position. M3 MBA.

selimthegrimtoday at 5:47 PM

<Cisco Heat cries in the corner>

miguelacevedotoday at 7:06 PM

really cool!

okokwhatevertoday at 6:01 PM

what a beautiful city could be...

DonHopkinstoday at 6:40 PM

What's the actual game? Try not to step in doo-doo?

zuzululutoday at 6:35 PM

where did you get the 3d map assets? also if one was serious about turning this into a game how would you go about it

show 1 reply
nicechiantitoday at 6:03 PM

[dead]

🔗 View 3 more comments