This working calculator in Cities: Skylines is powered by human poo

Though the video above might look incomprehensible, what you're actually looking at is a working calculator that runs on human poop. Not real human poop, mind you, but the simulated human poop from city-building simulator Cities: Skylines. Engineered by a player named Daniel Bali, this relatively simple 4-bit adder can do some basic addition of small numbers, and it's also the first time anyone has built a working computer inside of Cities: Skylines.

That kind of virtual computer engineering is typically reserved for Minecraft, which has useful tools like redstone created specifically for creating the binary logic at the heart of a computer. But Bali has cleverly created a similar system in Cities: Skylines, one that uses a whole lot of coal power plants, wind turbines, and, yes, poo.

Bali's write-up of the design is fascinating and well worth reading. But essentially he discovered that Cities: Skylines had all the necessary ingredients to make a simple circuit board, AND and NOT gates. The first was pretty simple to make and just required some power lines, a power plant, water tower, and sewage pipes. But, more difficult, was making the NOT switch (also called an inverter) necessary to make the calculator work. "To achieve this we will make use of the game’s simulation of fluid dynamics," Bali writes. "Improper use of dams, canals or abuse of sewage pipes can result in buildings getting flooded. A flooded power plant will not produce electricity. This is enough to build a NOT gate."

Bali's computer turns a Cities: Skylines map into a giant circuit board. (Image credit: Colossal Order)

Bali designed a clever system that would flood a wind turbine on command, thus stopping it from generating power. To do that, he had to create a nearby city capable of pumping out a lot of waste and then routing it through the circuit board to the wind turbines.

The video above is proof that the calculator works, though its input and output are binary. In the beginning, Bali connects different wires to the main power source. Connected wires (highlighted in blue) represent 1s and non-connected wires represent zeros. The video shows the computer adding 9 (1001 in binary) and 14 (1110 in binary) together and, after a long time spent flooding wind turbines with poo, the calculator arrives at the right answer: 23 (10111 in binary).

As Bali explains, the big drawback with his machine is how slow it runs and its size. "one 4-bit addition took roughly 15 months in game which is about 20 minutes in real life," Bali writes. "There are also problems with size. Due to how power is implemented in the game, components of a gate need to be placed relatively far apart, otherwise power would flow between them. The 4-bit adder took up much of the 9 tiles available in a normal game, although I did not optimize it very much."

The calculator uses four of these 1-bit adders to do basic addition. (Image credit: Colossal Order)
Steven Messner

With over 7 years of experience with in-depth feature reporting, Steven's mission is to chronicle the fascinating ways that games intersect our lives. Whether it's colossal in-game wars in an MMO, or long-haul truckers who turn to games to protect them from the loneliness of the open road, Steven tries to unearth PC gaming's greatest untold stories. His love of PC gaming started extremely early. Without money to spend, he spent an entire day watching the progress bar on a 25mb download of the Heroes of Might and Magic 2 demo that he then played for at least a hundred hours. It was a good demo.

Latest in Sim
An ancient, angry stone mech from No Man's Sky's new Relics update
No Man’s Sky lets you unearth ancient, angry mechs in the astro-archaeology filled Relics update
Dwarf Fortress adventure mode art
After 23 years of making Dwarf Fortress, even its creator is still 'terrified' of drowning all his dwarves with aquifers: 'Part of the problem is we are just not good at videogames'
Tarn Adams, who cofounded Bay 12 Games with his brother Zach, talks about their single-player simulation game "Dwarf Fortress" during an interview at their home office in Poulsbo, Washington, west of Seattle, on December 9, 2022. - A cult favorite among indie game fans, "Dwarf Fortress" has been available for purchase on the Steam online store since December 6, a first for this title that has been distributed for free since its debut in 2006. The real-time management game, set in a medieval-fantasy world and involving overseeing a group of dwarves seeking to build a mighty fortress, has climbed to the fourth best-selling weekly title on Steam. (Photo by Jason Redmond / AFP) (Photo by JASON REDMOND/AFP via Getty Images)
Dwarf Fortress' creator is so tired of hearing about AI: 'Press a button and it writes a really sh*tty, wrong essay about something—and they still take your job'
Decorations in TCG Card Shop Simulator
TCG Card Shop Simulator finally adds the ability to decorate our stores, and suddenly all my profits are being spent on adorable Pigni posters
A person on a snowmobile riding a track in the forest in game Sledders.
Powder enthusiasts seem pretty pleased with new physics-based realistic snowmobile sim Sledders
Dean Hall at GDC 2025.
Outer space inspired DayZ's Dean Hall to become a modder and game developer, and now he's making a Kerbal successor called Kitten Space Agency
Latest in News
An Enshrouded player in a recreation of Erebor from The Lord of the Rings
Kings under the Mountain! 33 Enshrouded players spent 10,000 hours to recreate this iconic location from The Lord of the Rings
A mech awakens.
Mecha Break developer is considering unlocking all mechs following open beta feedback
Lara Croft Unified Art
Tomb Raider developer Crystal Dynamics lays off 17 employees 'to better align our current business needs and the studio's future success'
A long bendy arm stealing money from people in a subway car
'You're a very long arm. You steal things. It's a comedy game,' explains developer of comedy game where you steal things with a very long arm
The heroes are attacked by monsters
Pillars of Eternity is getting turn-based combat to mark its 10th anniversary, and that means PC Gamer editors will soon be arguing about combat mechanics again
Image of Ronaldo from Fatal Fury: City of the Wolves trailer
It doesn't really make sense that soccer star Ronaldo is now a Fatal Fury character, but if you follow the money you can see how it happened