Quantifying Skill and Chance: A Unified Framework for the Geometry of Games