Commit Graph

22 Commits

Author SHA1 Message Date
16be88c703 Movement with only starting cards is mostly good 2025-06-28 00:23:13 +01:00
67dc528c6a Partially complete the highlighted card movement
Once I write a "lowest visible card" function, then it should
be easy to do the rest
2025-06-27 23:26:01 +01:00
ee895d81eb Implemented the card moving
Need to actually check it's working though
2025-03-09 23:21:20 +00:00
b3b9fb61a5 Removed a useless Enum and started the moving to piles 2025-03-09 22:19:46 +00:00
367ad78198 Writing some more test - I don't think all of them should be passing
I'm a bit unsure about the suit checking.
And the whole thing overall - it's kind of just working well first time. Not enough
real code is needing to be edited hah!
2025-03-08 02:51:52 +00:00
8ce03a4b1c Moving to foundations seems to be alright
I think there's probably a few more tests I should write
2025-03-08 02:36:18 +00:00
408978dd4f Added code to push to foundation
Need to write some tests. I have no idea if it works
2025-03-08 02:05:04 +00:00
804ff3f8b1 Adding some pile and foundation stuff
Still not finished though!
2025-03-08 01:20:26 +00:00
7e4cfc638b Fixed display of top card in waste 2025-03-08 00:15:49 +00:00
bcc493d5f9 Made use of the max turns thing
Unsure I'll ever use it... eh
2025-03-08 00:10:20 +00:00
a64031e3bc Fixed waste display issue and added cards per draw 2025-03-07 23:58:52 +00:00
f3ecdb69a4 Deck to waste and waste to deck working-ish 2025-03-07 23:49:51 +00:00
be6e36188c Bad deck -> waste working-ish
Display looks alright, so that's good!
2025-03-07 23:21:30 +00:00
0ae0bf73b2 Added deck and the start of the waste
I think I'm going to need some mode advanced widget that I make myself though
2025-02-26 19:26:17 +00:00
400155b8ad Added some Klondike stuffs 2025-02-25 21:41:08 +00:00
499020b904 "Cleaned up" some things and started on a possible Klondike struct 2025-02-24 23:52:17 +00:00
71dab0cf5c Couple of clippy lints
Not 100% sure what the "must_use" is really for... so didn't "fix" them
2025-02-24 23:25:28 +00:00
387c3f0beb Added a basic deck 2025-02-24 23:17:53 +00:00
6f5d7d7361 Write some tests - fixed 2 errors in the only 2 "real" lines of code I wrote... 2025-02-24 22:54:56 +00:00
086135abb5 Errors are passed through "properly" 2025-02-24 22:35:51 +00:00
ff801f259d Added some display stuff
For errors, and I guess just general displays

I should try extend into colour I think too, just for fun
2025-02-24 22:20:59 +00:00
63452f76f9 Initial Commit for some cardstuffs 2025-02-24 21:42:06 +00:00