Tha hammurabi code is base on a law for example and eye for eye a a head for a head . Its based on a fare law treatment thats the hammurabi code . Its very simple if you puched someone the person that you puched gets to puch you back .Babyloines get to treat each other fairly .