Split the class into two teams, with one team lining up on each side of the court. The coach calls out a number between 2-5, and that is how many people go in from the front of each line e.g. if a 2 is called, the first two people go in for that round. The players that go in must run and touch the wall or hoop opposite to the one they are scoring in, before running in and playing basketball. The team to score first gets a point, and all the players go to the back of their line.
Put a time limit on how long players are allowed to score.