The earliest predecessor of the game , chaturanga , originated in India in the 6th century , and sometime in the 10th to 12th centuries xiangqi ( Chinese chess ) was brought to Japan where it spawned a number of variants .
The earliest predecessors of the game , chaturanga , originated in India in the 6th century AD , and spread from China to Japan , where it spawned a number of variants .