From the wording, it is not clear to me if we have 13 games and thus 26 teams; or if we have 13 teams and thus only six games?

Let’s assume we have 13 games. So there is a string of 1’s, 2’s, or X’s that has length 13.

If that is the case, there are possible different such strings.