The origin is unclear. The fact that the thematic of a game of war is prevailing now, to me means that it might have as well been in the beginning. Actually it shows at least that those semantics are relevant to war, and to live, so what I was saying stands.
Of course it involves war, but note how they teach the young prince it is (a) better to let the Vazier (your Queen) do all the heavy duty lifting, and (b) it is perfectly honorable to hide behind fortifications in a castle.