From 7e4cfc638bdb33078f13fffe833f78c0211d2d6d Mon Sep 17 00:00:00 2001 From: Arthur Roberts Date: Sat, 8 Mar 2025 00:15:49 +0000 Subject: [PATCH] Fixed display of top card in waste --- card_stuffs/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/card_stuffs/src/lib.rs b/card_stuffs/src/lib.rs index ad090d4..020d4d5 100644 --- a/card_stuffs/src/lib.rs +++ b/card_stuffs/src/lib.rs @@ -234,6 +234,7 @@ impl Klondike { self.current_num_passes_through_deck += 1; } } + //pub fn move_one_stack_to_another(self, ) } impl Default for Klondike { @@ -250,6 +251,9 @@ impl Default for Klondike { piles[pile].push(c); } } + for card in &mut deck.cards { + card.visible = true; + } Self { piles, deck: deck.cards,