Initial version of libgames-scores

Fake pull request for initial review of libgames-scores.

Hint: scroll down towards the bottom to get to the newer comments.
Lambdas only help readability when they're very short; anything longer than about five lines is pushing it in my bood, and some people say two lines should be the absolute max.  This needs to be split into its own function.