For the orange cat to move use the left arrow key to make it move left, the right arrow key to make it move right, the up arrow to make it jump, and the space bar to make it shoot a basket. For the blue cat to move use the A key to make it move left, the D key to make it move right, the W key to make it jump, and the E key to make it shoot a basket.
Special thanks to Al Sweigart's course on Udemy