"""A small console application built from ordinary Python source modules."""
import scoreboard
from scoreboard import scores, record as add_score
import report

if __name__ == "__main__":
    for score in [18, 7, 24, 11]:
        add_score(score)
    print(report.heading)
    print("Scores:", scores)
    print("Best:", report.best())
    print("Shared module:", report.scoreboard is scoreboard)
    print("Function:", add_score.__name__, add_score.__module__)
