This is an engine for a Bouncing Ball Platformer game. How this works is that you use the arrow keys to move the ball left and right. When the ball bounces off a wall, the gravity will switch so that you can use the up and down arrow keys to bounce up and down a wall. This also applies to ceilings as well (move left and right).
As of now, this engine is very glitchy (for example, you can sometimes go through walls). I hope to improve it, add more features, and eventually make a game out of this. If you can think of anything to improve this platformer engine, be sure to write it in the comments. Also, feel free to remix this and make a game out of this yourself.