The great powers fought other, littler wars as well, but these big events - the 30 Years' War, the War of the Spanish Succession, the Seven Years' War and so on - were like a general audit of their status. Who's up, and who's down? Who can expand and who must yield?
It was a perfectly viable system, because the wars mostly involved small professional armies and did not disturb civilian populations much. The casualties were low and hardly any major player ever crashed out of the system entirely.
Naturally enough, most people did not see this system as a problem that had to be solved. It was just another fact of life.
The only diplomatic difference in 1914 was that the great powers co-ordinated their moves better than before. Almost all of them were at war in a few days, where it would have taken months or even a few years in the old days. The armies could move quickly to the frontiers by rail, so now you created your alliances before the war - and everybody had the telegraph so the final decisions were made fast.
But once the war started, everything was different.
The armies were 10 times as big as they used to be, because these were now rich industrialised countries that could afford to put most of the adult male population into uniform. That meant that the soldiers getting killed were fathers, brothers, husbands and sons: Part of the community, not the wastrels, drunks and men on the run who made up such a large part of the old professional armies.
And they were getting killed in unprecedented numbers. The new weapons - machine guns, modern artillery and so on - were very efficient killing machines and within a month the soldiers had to take shelter in trenches from the "storm of steel". They spent the rest of the war trying to break through the trenches and by the end of it 9 million of them had been killed. That is what changed everything.
One response to the ordeal, inevitably, was to demonise the other side and define the war as a crusade against evil. That way, at least, the ghastly sacrifice of lives could be seen as necessary and meaningful. But many people saw through the propaganda and some of them were in high places.
The senior politicians and diplomats of 1918, living amid the wreckage of the old world, could see that the old international system was now delivering catastrophe and had to be changed. So they set out to change it, by creating the League of Nations. They outlawed aggressive war and invented the concept of "collective security" to enforce the new international rules.
They failed, at first, because the legacy of bitterness among the losers in World War 1 was so great that a second one came only 20 years later. That one was bigger and worse - but at the end, everybody tried again. They had to.
The United Nations was founded in 1945, with slightly more realistic rules than the League of Nations but the same basic goal: To stop wars among the great powers, for those are the wars that kill in the millions.
Stopping other wars too would be nice, but first things first - especially now that there are nuclear weapons around.
All you can say is that it hasn't failed yet in its main task: No great power has fought any other one directly for the past 69 years.
Ignore the headlines that constantly tell you the world is falling apart. The glass is more than half-full.
Gwynne Dyer is an independent journalist whose articles on world affairs are published in 45 countries.