I'd recommend animation desk. It's pretty easy to handle at the start, and have a lot of useful features, later when your skill gets better you can possibly change it.
Search for animation software. Here is one that I know a lot of people use. It’s gonna be a lot more work than just doing one drawing and then software making it into an animation though. You could also do something simpler like a stop motion video. Draw a to scale basketball court, get little pieces or miniatures and move them around the court, taking a picture for every movement and then putting them all together. Takes a while, but it’s not complicated.