Seems to differ dependent on the game for me, for example, Don't starve gave me a card at the start of each day, and nothing when idling on menu or pause. Monaco only gave me a card when I finished the first level.
I cannot believe it is just based on time, to coincidental, especially DS.
It has to be time based, because people get cards using SAM instead of booting the games.