A basketball league awards 2 points for a win and 1 point for a tie. One team has four more wins than ties and has earned 32 points. How many games has the team won?