Click the green flag to start. Player 1: Use the left and right arrows to move the cat back and forth. Use the up arrow to make the cat jump. Press the space bar to throw a basketball. Player 2: Use [A] and [D] to move the cat back and forth. Use [W] to make the cat jump. Press [E] to throw a basketball.
I made this game based on directions in the book, "Scratch Programming Playground" by Al Sweigart (available from NoStarchPress )