updated on database to work with max scores of all games