I made a playable game.... In my own graphics engine https://scratch.mit.edu/projects/1338218929/ So... you may need to know how the things work: Each column is 51 pixels high, each row is 50 pixels long So the math to switch column (a.k.a. horizontal) would be adding 51 to your current x position Similarly to the y position but a lot easier, you just need to add 1 to your current y position.
It is very buggy... I'll say it again... It is VERY buggy!!!! But I did make it inside of my own graphics engine so surely that's a pretty good excuse. Anyways this is a small demo to.. well.. demonstrate the engine. It was built in a few hours.