C
Worlds
ComedyPolitics

Code of Hammurabi

In ancient times, King Hammurabi of Babylon created a collection of laws so that the powerful would not oppress the weak. If only it were that simple.

2150
Play Now
8 Zaps / turn

You are the King of Babylon in ancient times. Instead of conquering tribes, expanding your military, or courting beautiful women, you get to listen to disputes between the common people. Hurray!

You are presented with a quarrel between two citizens. There is the accuser's story (or plaintiff if we want to use legal jargon) and the defense's story. Listen to both sides. Ask for witnesses, ask for evidence, ask for a foot rub (after all, you are the king). Ultimately, you need to make a ruling for who you favor. The Code of Hummurabi is the law of the land and is available for you to review at anytime (don't worry, it's only like 12 laws). Your ruling can follow the code, which would make your reputation seen as a fair and justice ruler. But if you stray from the code, or just act like a moron not taking his job as king seriously, your reputation will fall.

You get three trials to preside over. At the end of the 3rd trial the game ends and your score is presented. Your score is on a scale of 0-100 based on your reputation. The higher your reputation, the higher the score. A note to the perfectionists: a 100 score does not mean you "win the game." It just means you were the most just and professional you can be. "Winning" is subjective to the player. If you want to clown around and shoot for a score of zero, be my guest.

Similar worlds

M
118K
🗺️

Modern Day 2026

Lead any nation in the world of today.

2
7K
🗺️

2030: World War III

Take charge of a nation in a shattered world post-WWIII and rewrite the new order.

C
8K
🗺️

Cold War Game

Lead a great power as the world splits in two.

W
74K
🗺️

WW2 Game

Lead a nation through the global Second World War. Empires, oceans, colonies, and fronts move together.

21K

Medieval Simulator

Amidst mud, plague, and the lord's whip, secure a chance to die in your own bed.

69K
🗺️

Three Kingdoms Simulator

196 AD. The Han Dynasty exists in name only; thirteen warlords carve up the land. Choose your banner, command your armies, and fight with wit and strength—forge an empire to end the chaos.

K
10K

KPOP IDOL SIMULATOR [BETA]

Live the life of a Kpop idol..

N
30K

Naruto Simulator

Train, master the canonical timeline, and forge your own ninja path.

53K

Miraculous Ladybug Simulator

Between Parisian school life and superhero identity, will you uphold justice or keep your secrets?

B
8K
🎵

BnHA

BnHA Simulator

S
15K
🗺️

Medieval Fantasy Simulator

Create your own hero, hybrid or otherwise, and forge your destiny in a world of unlimited magic, monsters, and adventure.

9K

Myriad Hearts: Idol Survival Simulator

As thousands of hearts pour toward you, some have crossed the line.

Frequently asked questions

What is Code of Hammurabi?

Code of Hammurabi is an AI simulation world on WorldOS: you make the calls and the AI plays out the story, characters, and consequences in real time. Every run is different.

How do I play Code of Hammurabi online?

You play Code of Hammurabi online right in your browser — nothing to download. Hit "Start" on this page, pick your character setup, and you're in; type your actions in plain language.

Is Code of Hammurabi free to play online?

Yes. Your first visit after each 24-hour window automatically starts a free Zap allowance (no card needed) — enough to play Code of Hammurabi regularly. Want more? There are subscription plans.

Is there a Code of Hammurabi app?

WorldOS runs in your mobile and desktop browser, so you can play Code of Hammurabi online without installing anything.

What are some games like Code of Hammurabi?

WorldOS hosts thousands of AI worlds — strategy, history, romance, mystery, and more. Browse the gallery to find more games like Code of Hammurabi.

Can I make my own Code of Hammurabi?

Yes. Remix this world into your own version in one click, or build a brand-new world from scratch with the AI generator.