Added toInvertedString to both Game and Board to ensure y-axis inversion compatibility.