Partially complete the highlighted card movement

Once I write a "lowest visible card" function, then it should
be easy to do the rest
This commit is contained in:
2025-06-27 23:26:01 +01:00
parent 3bc26915d1
commit 67dc528c6a
2 changed files with 74 additions and 12 deletions

View File

@@ -218,7 +218,7 @@ pub struct CardAndPosition {
pos: CardPosition,
}
#[derive(Debug, PartialEq)]
#[derive(Debug, PartialEq, Copy, Clone)]
pub enum CardPosition {
TopWaste, // I don't think we'd ever interact with anything other than the top of the Waste
Pile(usize, usize), // (PileNumber, Index)