clean duplicate code and set cards during active games to be background-less