pub fn prepare_for_empty() -> Vec<Card> {
        //prepare 16 empty cards. The random is calculated only on AcceptPlay.
        let mut vec_cards = Vec::new();
        //I must prepare the 0 index, but then I don't use it ever.
        for i in 0..=16 {
            let new_card = Card {
                status: CardStatusCardFace::Down,
                card_number_and_img_src: 1,
                card_index_and_id: i,
            };
            vec_cards.push(new_card);
        }
        vec_cards
    }
///asociated function: before Accept, there are not random numbers, just default cards.
asociated function: before Accept, there are not random numbers, just default cards.
asociated function : before Accept there are not random numbers just default cards .
pub fn prepare_for_empty() -> Vec<Card> {
        //prepare 16 empty cards. The random is calculated only on AcceptPlay.
        let mut vec_cards = Vec::new();
        //I must prepare the 0 index, but then I don't use it ever.
        for i in 0..=16 {
            let new_card = Card {
                status: CardStatusCardFace::Down,
                card_number_and_img_src: 1,
                card_index_and_id: i,
            };
            vec_cards.push(new_card);
        }
        vec_cards
    }
pub fn prepare_for_empty ( ) -> Vec < Card > { //prepare 16 empty cards. The random is calculated only on AcceptPlay. let mut vec_cards = Vec :: new ( ) ; //I must prepare the 0 index, but then I don't use it ever. for i in 0 ..= 16 { let new_card = Card { status : CardStatusCardFace :: Down , card_number_and_img_src : 1 , card_index_and_id : i , } ; vec_cards . push ( new_card ) ; } vec_cards }
asociated function: before Accept, there are not random numbers, just default cards.
asociated function : before Accept there are not random numbers just default cards .