same as all my other platformers. You know the rules and so do I.
I tried making the character able to walk infinitely in either direction, like in the Mario Bros. arcade game. When you reach the furthest right side of the screen you teleport to the left and the other way around.