Origin of chess - a phylogenetic perspective