Port scores.c to scores.go (some stubbed).