cardgame working with animation