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 = --------- NtxWhere
Ntxis the total number of packets transmitted by the player’s source during the game andNrxis 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 sWhere
Prxis the total amount of payload data received by the player’s destination in bytes andTis the duration of the game in seconds.