Try it out! See if it inspires you for a game! You can change anything you want. It's not great, but you can improve. With this engine, I am going to make another game (and probably lots more).
Thanks to Poly Mars for the idea. All code, animation, and art by me. Note: if you keep trying to walk off the edge, it will take longer to walk back. Another note: To go back to where you originally started, refresh the page. Tip: If you're trying to make a game like this on your own, I recommend using variables to move, that way you can keep track of other sprites while they're off the map.