a basketball game is played between two nba teams