The entire city of San Francisco as a video game

(sf.thijs.gg)

275 points | by centrosphere 5 hours ago

51 comments

  • jparishy 44 minutes ago

    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.

    (*might be a bit of lag; server needs more ram but on vacation rn!)

    • benry1 2 minutes ago

      This was so much fun! Some feedback - I wish the highways were more accurate, seems like a limitation of how elevation is handled on these maps. The navigation line was really hard to see since it was at camera level. It was hard to tell what direction i was going, the minimap and the large map seemed to disagree.

      But so fun to play, bookmarked and will be back

      • leviathant 17 minutes ago

        It took a little while because I was struggling with the scale a little bit at first, but I found my house. I appreciate that you tore 95 and 676 out! Keep it up - consistent art direction usually beats hyper-realism, for me, and I appreciate the bizarro world you've concocted.

      • frankhorrigan 3 hours ago

        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.

        • parisisles 17 minutes ago

          Probably a testament to how good my life is otherwise – but I feel so much grief from not living in SF / the bay area anymore.

          • aguynamedben 1 hour ago

            Same. I lived in SF for 15 years, my kids were toddlers in the Marina... this is so freaking awesome and really brings out the nostalgia! It matches my memories exactly.

            Exact proportions are crazy. I had the reverse experience doing sim racing... do a track a bunch, finally visit it in person - and it looks the exact same as in your mind.

            • madrox 1 hour ago

              Happy to hear someone else say this. Similar story. I could never live in SF again but roaming around it was nostalgic in a way going back now just isn't

              • throwforfeds 1 hour ago

                This made me super nostalgic as well. I've lived in NYC for 20 years, but spent a ton of time in SF early in my career (starting in 2008). I love NYC, but I've been sort of feeling like a change lately and this made me feel like subletting a place for a few months and getting back to the slower pace of SF.

                • marciob 1 hour ago

                  good to know your feelings, but how different it is from using google maps?

                  • aguynamedben 1 hour ago

                    The free will of walking. I walked around the city using certain routes, and I can freely replicate those walks in this. I did walks I did when my kids were 3 years old. Google Maps isn't fluid enough to do this.

                • jvogt 2 hours ago

                  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!

                  • herpdyderp 18 minutes ago

                    I'd prefer something like The Crew but whatever game it ends up in, it would still be awesome!

                    • michaelbuckbee 1 hour ago

                      I feel like the closest we've gotten to that so far has been the flight sims.

                    • LogicFailsMe 9 minutes ago

                      Vette by Spectrum Holobyte, 1989: https://www.youtube.com/watch?v=NtDgTz2peXw

                      • stymaar 22 minutes ago

                        Why the Apple copyright and ToS at the bottom of the page? Is that an Apple product?

                        • sajithdilshan 11 minutes ago

                          Maybe because it’s made from the data from Apple Maps

                          • fragmede 9 minutes ago

                            that's where the data is from so someone's about to get sued

                          • cutoff 3 hours ago

                            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

                            • kfarr 2 hours ago

                              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!

                              • nfw2 30 minutes ago

                                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?

                                • numpad0 14 minutes ago

                                  MSFS? Y key doesn't work?

                                • josephjrobison 4 hours ago

                                  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.

                                  • stronglikedan 4 hours ago

                                    > Had a lot of fun (tedious tho) going out to Alcatraz

                                    Curious, did you use a vehicle/glider, or did you take the heel-toe express all the way there?

                                    • whycombinetor 4 hours ago

                                      You can activate flying mode by double-jumping and crank the speed up with +.

                                  • tuchsen 4 hours ago

                                    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!

                                    • JKCalhoun 1 hour ago

                                      '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).

                                    • CobrastanJorji 1 hour ago

                                      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.

                                      • dcrazy 1 hour ago

                                        The photogrammetry appears to be from Apple Maps.

                                      • gjenkins 2 hours ago

                                        We got GTA SF before GTA 6.

                                        • metadat 2 hours ago

                                          That was actually Watchdogs 2. Great game, basically GTA but you are a hacker in the Bay Area. The SF portion of the map was accurate down to every building.

                                          https://en.wikipedia.org/wiki/Watch_Dogs_2

                                          https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTbDzFt...

                                          • dcrazy 1 hour ago

                                            If that second link is an in-game map, it is far from accurate to the real world. Unless it’s from a timeline in which Golden Gate Park is connected to the Presidio, and half of SF has fallen into the ocean.

                                          • ViktorRay 40 minutes ago

                                            Gotta shout out to the city of San Fierro in Grand Theft Auto San Andreas.

                                            San Fierro was based on San Francisco of the 1990's. Lots of good memories playing GTA San Andreas and exploring 90's San Francisco.

                                          • brap 51 minutes ago

                                            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.

                                            • forthwall 4 hours ago

                                              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)

                                              • HanClinto 4 hours ago

                                                Very impressed with the Watch Dogs series of games for this purpose.

                                                We recently used Watch Dogs Legion to prep for a trip to London to get more familiar with the city. Set the game on peaceful mode and just walked around and did virtual sight-seeing instead of playing missions. It's a surprisingly good recreation of the city, and we really appreciated getting some familiarity with the place before we visited.

                                                • jermaustin1 3 hours ago

                                                  I did a similar thing for the UK when prepping to drive around. I hooked my steering wheel up to Forza Horizon 4, and just drove slow cars on the wrong side of the road through Edinburgh, following as many of the road laws as I knew.

                                                  It wasn't perfect, but it did help a little. The streets are way narrower, and the traffic is much worse, but muscle memory to stay on the left side of the road was nice.

                                                • striking 3 hours ago

                                                  I do adore San Andreas but I think San Fierro is one of the weakest areas. My metric for how accurate they are is a sense of "oh I've been here before" and I really only get that in a couple of spots, as compared to Las Venturas (Las Vegas) and Los Santos (Los Angeles) where I could actually go to the cities in real life and feel like I knew where I was going because I'd played San Andreas enough. Compared to those two, San Fierro feels like a Backrooms-style dreamlike compression of the real thing, where a lot of stuff has been moved around. But parts of Haight-Ashbury, Pac Heights, Nob/Russian Hill, Polk Gulch, Ocean Beach and so on are still fairly distinguishable and correctly arranged.

                                                  • Stevvo 3 hours ago

                                                    Depends how you define fidelity. The mesh resolution in MSFS isn't any higher resolution. Looks about the same.

                                                    • why_at 3 hours ago

                                                      I'm still holding out hope for a modern Fallout in the bay area.

                                                      • jrm4 2 hours ago

                                                        Ha, Microsoft Flight Simulator is the most uncanniest valley thing I think I've ever played with; I'm from Tallahassee and it's weird to fly around a very high-fidelity, realistic, inaccurate version of a city I've lived in my entire life.

                                                        • Apocryphon 3 hours ago

                                                          Not bad, though based on the screenshot Lake Merritt in Oakland looks not to scale.

                                                          https://watchdogs.fandom.com/wiki/Category:Bay_Area

                                                        • fragmede 7 minutes ago

                                                          American Truck simulator also has SF in it!

                                                          • Aboutplants 1 hour ago

                                                            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

                                                            • recursive 4 hours ago

                                                              Loading information just goes forever.

                                                              Console shows CORS violations and WebGL errors.

                                                              Firefox on Windows. Recent ThinkPad provided by my employer.

                                                              • recursive 1 hour ago

                                                                Update: Restarted firefox and it's working. Computers...

                                                              • asdfman123 3 hours ago

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

                                                                • ironqcold 1 hour ago

                                                                  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

                                                                  • K0IN 2 hours ago

                                                                    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.

                                                                    • arjie 2 hours ago

                                                                      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.

                                                                      • asveikau 2 hours ago

                                                                        I was able to get it to stand directly on the roof of the structure I'm sitting at. (Which is kind of a glitch, it walked right over the structure as if it's a hill.)

                                                                        When I noticed it getting choppy I realized I had filled most of my VRAM with an LLM, so I unloaded that and it got better.

                                                                        Pretty cool project.

                                                                      • er4hn 1 hour ago

                                                                        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.

                                                                        • atum47 2 hours ago

                                                                          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

                                                                          • Jeremy1026 3 hours ago

                                                                            We got GTA SF before GTA VI.

                                                                            • planb 3 hours ago

                                                                              When I was in SF the first time some spots seemed weirdly familiar to me. Only later that day I remembered that I probably know them from GTA San Andreas (but maybe also the Full House intro)

                                                                              • Jeremy1026 3 hours ago

                                                                                It is fun when you play a game based on a place, then visit the place. There have been a few places that I've been to that were levels of the Tony Hawk series. I enjoyed how the game designers were able to take what was otherwise pretty mundane, and tweak it into a fun map, while not just making it all up and losing the source location.

                                                                            • englishspot 4 hours ago

                                                                              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.

                                                                              • littlexsparkee 30 minutes ago

                                                                                my first exposure was Driver and Tony Hawk's Pro Skater, later skateboard videos

                                                                                • cosmojg 4 hours ago

                                                                                  Haha, I know that stage by heart, and I've never been to San Francisco. I had no idea that's what it was modeled after!

                                                                                  • pete5x5 3 hours ago

                                                                                    Also love that level, but mostly because the song is such a banger

                                                                                  • eli_gottlieb 1 hour ago

                                                                                    I was just thinking, this game needs a snowboard I can use to jump, do tricks, and smack around people's cars.

                                                                                  • alexgyurov 1 hour ago

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

                                                                                    • time0ut 2 hours ago

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

                                                                                      • fusslo 4 hours ago

                                                                                        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)

                                                                                        • The LLM they used to create this does not care for loading bars XD

                                                                                        • bengotow 4 hours ago

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

                                                                                          • tims33 4 hours ago

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

                                                                                            • aselimov3 4 hours ago

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

                                                                                              • aselimov3 3 hours ago

                                                                                                Mouse capture works in chrome but not safari for me

                                                                                              • bitwize 1 hour ago

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

                                                                                                • butlike 1 hour ago

                                                                                                  This is amazing

                                                                                                  • juancn 3 hours ago

                                                                                                    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:

                                                                                                    • tommek4077 3 hours ago

                                                                                                      Mouse-click (left) and turn the mouse.

                                                                                                    • nickandbro 4 hours ago

                                                                                                      Crazy how they have GTA San Francisco before GTA 6

                                                                                                    • aeve890 1 hour ago

                                                                                                      Better than Horizon Forbidden West. jk.

                                                                                                      • wahnfrieden 1 hour ago

                                                                                                        This is pirated content

                                                                                                        • arionhardison 4 hours ago

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

                                                                                                          • system2 2 hours ago

                                                                                                            We need an LA version of this.

                                                                                                          • zkmon 3 hours ago

                                                                                                            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.

                                                                                                            • brcmthrowaway 3 hours ago

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

                                                                                                              • busymom0 4 hours ago

                                                                                                                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.

                                                                                                                • aaroninsf 4 hours ago

                                                                                                                  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.

                                                                                                                  • selimthegrim 4 hours ago

                                                                                                                    <Cisco Heat cries in the corner>

                                                                                                                    • miguelacevedo 3 hours ago

                                                                                                                      really cool!

                                                                                                                      • okokwhatever 4 hours ago

                                                                                                                        what a beautiful city could be...

                                                                                                                        • DonHopkins 3 hours ago

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

                                                                                                                          • zuzululu 3 hours ago

                                                                                                                            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

                                                                                                                            • It says 'Apple Inc' in the bottom left, and there's a link to the Apple Maps T&Cs.

                                                                                                                            • avelis 4 hours ago

                                                                                                                              The least amount of traffic I have seen in the city. /s

                                                                                                                              • jrflowers 3 hours ago

                                                                                                                                Nobody defecating in public or play parties that are worse than going to the dentist 3/10