More ritual than sport, the choreographed ceremony of the Mesoamerican ballgame recreated scenes from the Popol Vuh in which the Hero Twins compete in a ballgame against the Gods of Death. The ruler is said to have assumed the role of one of the Hero Twins, playing against a captured enemy ruler destined to lose and to be sacrificed.