calculate scores and increment card