This demo is kind of like @AlSweigart's double jump demo, but the cat doesn't stop instantly when you let go, the cat slows down before stopping. When you press the a or d keys, the cat takes a little bit before it gets to top speed. press w to jump, but you can't jump twice
I tried to make it where the cat needs to slow down before going the other direction, but I haven't mastered this thing yet.