Every time it bounces, you switch which side you're using to the other.
Just another simple game I made.