Ancient China developed around 8,000 years ago along major river valleys. The civilization lasted longer than any other ancient civilization. People's diets and housing differed depending on wealth, with rice and wheat as staples. Architecture featured curved roofs to ward off spirits, and the Great Wall was an engineering marvel. Inventions included the compass, printing, paper, and gunpowder, which all still impact modern society. Chinese writing used characters instead of alphabets and was developed on materials like bones, bamboo, and silk.