Pretty sure the score is not correct for this game.
Since player A has sacrificed 3 cards, and won on the 9th turn with a Queen, the score should be:
11 * (9 + 3) * 3 = 396
11 for the Queen
9 + 3 for the ninth turn with 3 sacrifices
3 for having a two-card overmate (9+3=12)