Characteristics of the historical development of ritual games