Basic logic for Cards implemented