Technical Case Study

back to main

Tennis League


Client: Tennis League
Technologies Used: HTML, PHP, MYSQL, Java Script, and Ajax
Tools: Google Maps

Situation
The client required a site through which tennis players could find other tennis players in their region to practice matches with them in adjacent courts to improve their tennis skills. This had to be a system where players could keep their ranking and play more matches to come up on the ranking system called ladder. The site groups players with other players at their level in a ladder format and they can choose when, where, with whom and how often to play at the courts in their area. Ladder is a group of players arranged in the order of their ranks. The ladder system motivates players to challenge and play more. It is called a ladder as the system is based on the principle of rungs -- winning games advances a player up the rungs of the ladder and losing games brings him down. Players are able to select from the courts listed in the site and he can add a court if needed.
Solution
User

The site provides tennis players with a better way to find other players of their area and practice matches with them. Only registered users can enjoy the facilities of the site. There are two types of games - single and doubles. While registering on the site the player should select a game type, his locations, division and other personal details.

Player Signup.
case_study

A Ladder is created by the system automatically by grouping players of same region, location, game type, division and gender. A player is placed at the bottom of the ladder when he signs-up. He can observe the top ranked players on the top with options to view their profile, view their match results, courts, feedback, friends etc.

Ladder
case_study

The registered players can challenge the other players in his ladder and play with them. A challenge is a message to the other player that he would like to play with him.

Challenges
case_study

The other player can either accept or reject the challenge. The challenge can either be seen from the pending challenges option or from a mail that will be sent to the opponent while challenging. The challenge mail contains links to accept or reject the challenge without logging in to the system.

Pending challenges
case_study

On accepting the challenge the players themselves can decide the match time and venue. The match will be offline on the accepted date and time at the decided venue

Accepted challenge
case_study

After the match any of the players can enter the match result. The system will automatically calculate the player ranking as they enter match results. On defeating a top ranked player, the winner will move up and the loser will move down the ladder.

Match result entry
case_study

Players also have the option of activating the holiday mode in the system. When the player is in holiday mode his ranking will remain unchanged.

Other features of the site
Court

The system provides map locations and other details of about 6000 courts that facilitate the players to easily find convenient and adjacent courts. Users can add/Update/Delete courts to the site database, but only after admin approval. Users can search for courts based on city, state or zip. The search results are shown on a Google map for easy location. The Google map marker for each court will display popup information on that court. Options like 'email the court', 'add to court list' and 'update the court' are available for users. Users can also find the distance between places on the map.

There is provision for players to maintain a list of their favorite and convenient courts. Similarly the players can view the favorite courts of other player's to fix a match with them. Players can send messages to other players sharing the same court.

My courts
case_study
View court
case_study
Feedback

The site offers the registered users an easy way to provide their feedback to the opponents. Players can enter the feedback of the opponent after each challenge. The feedback can be positive or negative. Initially the player feedback rate will be zero, on each good feedback, it increases and on each negative feedback, it decreases. When a player gets a -5 feedback rating, his account will be inactivated in the system. He has to contact the administrator to activate it again.

Provide feedback
case_study
Friends

Players can keep their friends list in the site. They can search other members of the site and request them to add them to their friends list. This provides the players an easy way to find players, other than in the ladder, to practice matches. They can practice match off line and enter their results from the friend page. Players can block other players from sending requests. Players can also send messages to their mutual friends

My Friends
case_study
Week Rules

The system has another feature called week rules to make the players more responsible to their actions in the ladder. There are two types of week rules: 2- week rule and 1-week rule. 1-week rule is a penalty for the players who do not respond to a challenge produced by another player on the ladder. If a player does not respond to a challenge in 1 week, his rank will drop down by 1. 2-week rule is applicable for bringing down the rankings of players who have not been playing for the past two weeks

I want to play

Players can set the day they are interested to play. If a player willing to play on the current day he can set his this feature active, so that his name will be displayed to all other players of the same ladder for that day. It allows the players to find their opponent easily to arrange a match immediately


hai
Holiday and Turn off Account

Players are allowed 40 days in the holiday mode. If they activate the holiday mode, the week rules will not change their rankings. On the other hand if they turn off their account they will be removed from the ladder and while rejoining they will be added at the bottom of the ladder.

News (RSS)

The site displays tennis news from major news sites and links to RSS from there.

News
case_study
Instructor

Instructor is another type of site user. Instructors can publish and promote their events through the site. They can register to the site with their personal and qualification details. Players can search for instructors, view their profiles and send emails to instructors.

Instructor registration.
case_study
Instructor home
case_study
Instructor Profile
case_study

Instructors can register their events on the site. An Event may be on fixed date or recurring events. There is provision for them to create new events that imitate existing events. Live and recurring events will be displayed to players. Players can search for events and join the desired events. Site admin and event admin can send mails to registered players and can also remove players from the list.

Create Event
case_study
View Event
case_study
Administrator

The site administrator can view different reports like ladder details, sign up status, and personal details.

case_study

Administrator can send emails to players and add/remove players from the mailing list. Administrator has option to reset password of players, consolidate user accounts and remove players from the roster. Administrator manages the event calendar, View pending users etc.

case_study

Key Features
  • Automated Rank Calculation
  • Google map Integrated
  • RSS
  • Bulk Mailing
  • Holiday option for players
  • Courts
  • Friends
  • Week rules

Benefits
  • Helps tennis players to improve themselves by finding practice partners in their area to play matches.
  • Automatic grouping [ladder] and rank calculation.
  • Google map makes the process of searching for courts easier.
  • Easy to contact players [Mass email]
  • Friends List and communication

Conclusion

The site has been running smoothly for the past one year. The site underwent a design change six months back with the addition of new features like instructor, friends, court list and feedback.