make cmp_card a method of the game class