1) The collapse happens slowly over time, as a slow degradation of services. You'd have decades to adapt.
2) The collapse happens all at once. Almost everyone dies, because there's not enough food and water to go around.
Also, the people fighting over scraps would be the gangsters and warlords. It would be thugs and homicidal teenagers, not middle age former software engineers. We'd be like Ethiopia.
I guess it's possible to form common defense collectives among likeminded people, but I think the more likely outcome is we'd be cowtowing to the local warlord and paying him for our protection. If we didn't die early.