Yes the longer and harder you play the more calories you'll burn. You burn about 15 calories an hour just sitting, so if your running around a court swatting a ball you probably burn somewhere around 600 calories an hour plus it builds up your metabolism which means you'll burn more calories sitting or sleeping. So YES you will lose weight playing tennis.