Implement a scoreboard. Fixes #3.