Given the task definition and input, reply with output. The task is to generate the correct answer for a given math problem.

Problem: there are 15 teams in a certain league and each team plays each of the other teams exactly twice . if each game is played by 2 teams , what is the total number of games played ?
21