table(scores) - ArtemisFowlJnr/KotH GitHub Wiki
Syntax
def table(scores):
Parameters
This currently accepts only one parameter, scores. This should be a dictionary of filename: score pairs, as outputted be tournament. It ouputs an ASCII table, where usernames or bot names over 20 characters are shortened to 17 characters and an elipses. This will only work if the filenames are in the form botname__user name.foo.
Return
An ASCII table (multi-line string)