# The Skull's Scoring System 🏆

Here's how the scoring works: each challenge has a *base score*, and your final
score is calculated by adding a *rank bonus* and a *brevity bonus* to that base
score:

```
Final score = base score + rank bonus + brevity bonus
```

## Base Scores

The base scores are:

Challenge | Base score | Bytes ** |
---|

Hypnosis | 500 | - |

Capture The Flag | 4500 | - |

Mind Control | 9500 | 39 |

The Virus * | 7500 | 130 |

Medulla Oblongata * | 7500 | 89 |

* These are the bonus challenges

** The *Bytes* value is used for the brevity bonus and will be explained below.

## Rank Bonuses

Your rank bonus will depend on how many people have already solved that
particular challenge:

Rank | Rank bonus |
---|

1st | 500 |

2nd | 400 |

3rd | 300 |

4th | 200 |

5th | 100 |

6th+ | 0 |

## Brevity Bonuses

Your brevity bonus works as follows: if the size of your solution (in bytes) is
smaller than the value in the Bytes column above, then you get
100 additional points for each byte you saved. But if your solution is *larger*
than that value, then you lose 50 points for each extra byte.

## An Example

Suppose you were the 2nd person to solve the Mind Control challenge, and your
solution was 40 bytes long. In this case, your score would be calculated as
follows:

**Base score**: 9500**Rank bonus**: 400**Brevity bonus**: -50**Total score**: 9850

## Resubmitting

You can submit an improved solution at any time. If you do, a second score will
be calculated based on the number of solutions that have been submitted at that
point in time. Your *actual* score will only change if this new score is higher
than your previous one.