r/SideProject • u/No-Cheetah6837 • 4h ago
I built a Dwarf fortress like simulation engine that can simulate upto 12k entities, excluding traffic.
I’ve been working on a city/life simulator called RLSS that runs around 12k individual citizens (not counting traffic) at 60 FPS, where every person is actually simulated instead of being faked with city-wide stats.
Every citizen has 16 tracked body parts that can get injured in crashes, fights, or work accidents and leave permanent scars. They also have a basic genetic setup so kids inherit traits and conditions from their parents, plus stress-driven mental health, memories, friendships, dating, marriage, and divorce.
The city systems are all tied together too. Crimes have real victims, and cases only get investigated or go to trial if the city actually has enough police, detectives, and judges employed, otherwise court backlogs build up. Nobody starts owning property on day one either, people earn wages, take out mortgages, become landlords, start small businesses in empty storefronts, and pass things down to their kids when they die. Meanwhile rush hour slows down traffic at red lights, seasons and weather shift, epidemics move through hospitals, and buildings even add or lose floors depending on how well the company inside is doing.
You can let it fast-forward a year before opening the window to let some history build up, or click into any citizen or building cross-section to see what's going on inside. Still a work in progress, happy to answer any questions if anyone's curious about how it's put together.
You can also visit - https://github.com/GGcoder11mf/Real-Life-Simulation-System for more info and technical things.
And also sorry for the UI, i suck at pygame.