For leagues where activity shouldn't be that decisive for a teams rating (if that is what you want), an
ELO based rating
could work well.
[
http://en.wikipedia.org/wiki/Elo_rating_system]
Elo was originally invented as an improved chess rating system although it is used in many games today. It is also used as a rating system for competitive multi-player play in a number of computer games, and has been adapted to team sports including international football, American college football and basketball, and Major League Baseball.
Basically, how it works, is this:Every team starts with 1200 points.
When playing a match, the two teams get/looses points depending on the win/draw/loss status and their ELO rating.
If a weaker team wins vs a stronger team, it gets more points than when a stronger team wins vs a weaker team.
The same for loosing points.
The amount of points a team actually wins or lose is calculated using a statistical approach and is directly dependent on the difference in strength
of the two teams.
So basically, the ELO doesn't calculate a teams performance, but the team's strength index. The amount of points a team has, is their strength index.
And matches are weighted according the difference of the two strength of the involved teams.
That sounds cool but maybe we should have something stopping clans from getting points from the much lower ranked clans.
The ELO rating adresses this. If a 2000 points team wins vs a 1000 points team, it will only get 1 point, if a 1200 points team wins vs a 1200 points team, it will get about
25 points.If a 2000 points team looses vs a 1000 points team however, it may well loose 100 points.
(the actual number of points is dependent on a weighting factor)
For a proper description of the formula used to calculate the points for a game, refer to the wikipedia site mentioned above.This encourages strong teams to play equally strong or stronger teams, cause that's when they can win the most points._________________________________________________
____________________________
In all, it may be fun to come up with a rating system, but it will be hard to come up with one that works well and fair. So why not use a rating system
that already proofed to work well.
On sourceforge there is a free implementation of a league site based on ELO, called
Web-League.
Its made by players of the game BZFlag for BZFlag leagues, but it can easily be modified to work for Tremulous. I have done some coding for web-league too, so
if you need help to get it working....