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
Ntxis the total number of packets transmitted by the player’s source during the game and
Nrxis 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 is defined as:
_ Prx bytes TP = ----- [ ----- ] T s
Prxis the total amount of payload data received by the player’s destination in bytes and
Tis the duration of the game in seconds.