Adding previousli played cards in the logic