Skip to content

table(scores)

ArtemisFowlJnr edited this page Apr 16, 2019 · 1 revision

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)

This project is still in development. Check out README.md for more information. The most up to date way to get information will of course be the source code.

Clone this wiki locally