Update cardsimulation.c