Scoring¶
At the moment, SpectrumWars doesn’t use a single scoring function. Players may be ranked by different criteria, depending on a specific competition. Game controller currently records the following statistics for each player in a game:
- Packet loss
Packet loss is defined as:
_ Ntx - Nrx PL = --------- Ntx
Where
Ntx
is the total number of packets transmitted by the player’s source during the game andNrx
is the total number of packets received by the player’s destination during the game.Note that packets with control data in the direction from the destination to the source do not count.
- Throughput
Throughput is defined as:
_ Prx bytes TP = ----- [ ----- ] T s
Where
Prx
is the total amount of payload data received by the player’s destination in bytes andT
is the duration of the game in seconds.