Hey everyone. I must preface this by saying that I am a complete novice.
Simply put, I am making a silly text based game, and I am trying to find a way to make the world map a sphere.
By this I mean if the player goes too far to the right, they end up on the left, and too far up, they end up on the bottom.
I can do this easily enough by making it wrap around, but this isn't technically correct as diagonals are involved.
Any advice here?