Couldn't you just use a `dict` here, one that maps `int`s to scores?