Make 2 teams of 4 players maximum. If you have more players than 8, make 2 pairs and change quickly after each or after 2 goals.
Team 1 starts attacking at 1 basket, team 2 defends. If team 1 scores, they may continue attacking, but start again at the starting pawn. If team 2 intercepts the ball they have 1 shot opportunity to try to score on basket 2 or 3.If the defence scores after 1 shot, they become the new offence team and may start at the starting pawn, to attack basket 1.
Which team has scored the 5 goals first? You can vary this.
Change when there are more than 8 players: after 1 or 2 goals quickly change.