Commit Graph

50 Commits

Author SHA1 Message Date
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
b86df849bc Facedown cards seeeem to be alright 2025-03-08 00:01:47 +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
5106f6c53c Empty piles now use empty piles
And I fixed the bug where it had no bottom border. It's because I didn't tell
it to have a border on the bottom. Funny that!
2025-03-07 23:40:03 +00:00
064139d698 Added an empty pile symbol 2025-03-07 23:34:24 +00:00
be6e36188c Bad deck -> waste working-ish
Display looks alright, so that's good!
2025-03-07 23:21:30 +00:00
3c4f4ce0ad Added some of the wastes pile
It's not quite how I wanted to do it... but it'll work
2025-02-26 21:14:08 +00:00
df8347577e Started changing List to Paragraph
List has a bunch of extra bits I don't need.
2025-02-26 20:48:49 +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
dcbcb92376 Fiddled with some spacing and stuff 2025-02-25 23:59:53 +00:00
added3ad03 Unsure this is getting any better 2025-02-25 22:53:42 +00:00
778a5c48e2 Drew a crap card 2025-02-25 22:27:36 +00:00
12a16a5fdd Added some bad graphics stuffs 2025-02-25 21:43:15 +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
f0d851ebb3 Fixed up a couple of fields 2025-02-08 01:19:32 +00:00
d868ef1e90 Added a couple more enums and invalid-ish card list 2025-02-08 00:41:21 +00:00
a1728de503 Ran rustfmt and clippy 2025-02-07 22:38:20 +00:00
a14d2dcb75 Don't look at that awful test...
I have tested it on the Oracle cards - so should like... mostly work for cards

Except for, I think, mistakes? in the Scryfall database.
2025-02-05 00:13:48 +00:00
66b22c1c30 Added a very poorly written test thingy
Started fixing a couple of mistakes
2025-02-04 23:45:53 +00:00
993ac46954 Got most of the fields I think 2025-02-04 23:21:23 +00:00
f576fe6cc8 Added UUID
And fixed up the fact the promo types are optionally null/not there/empty/full
2025-02-04 22:40:51 +00:00
2dd4f3d696 Added some more fields
Got most of them done. Added a couple of cards too
2025-02-01 01:18:38 +00:00
d8e0b2c07b Seems to be alright at deserialising the things so far 2025-01-31 23:45:43 +00:00
871d2af2da Added a first test to see whether a card is available 2025-01-31 23:31:58 +00:00
9771a905ff Half of ScryfallDeser fields added
Very non-atomic - and I'm not even sure if it's half.

I think I might stop here and actually try the derserialisation stuff
2025-01-31 23:21:47 +00:00
82255d311d Dumb grammar issue 2024-11-05 23:58:57 +00:00
6a6ddf1ad6 Update README 2024-11-05 23:58:21 +00:00
98e5428b83 I think this is a better example
I _think_ that maybe if you have a tuple of 1, it gets "unwrapped" in
some way to be just a singleton - or at least I was encountering a
bug along those lines...

(('/mnt/tmp', 'mount /mnt/tmp'))[0] == '/'
^ this is where my big was occuring, I think

It also could've been an issue with the printing - no idea.
Changing from a tuple to a list seems to be better
2024-11-05 23:56:38 +00:00
3a8b3789e2 Remove the mount_points 2024-11-05 23:27:58 +00:00
8130d82b4c Added README for remount 2024-11-05 23:24:37 +00:00
84e37dfd4e Add remount checker
I should add instructions on how to call it too
2024-11-05 23:15:23 +00:00
45301d64a9 Updated some files 2024-10-28 22:15:52 +00:00
60a63cd6ae Added random 16x16 pixel image generation 2024-10-05 04:57:20 +01:00
599b2c8365 Added random word generator 2024-05-07 18:25:22 +01:00
c46405efce Added image colour sum 2024-05-07 18:24:04 +01:00
7b6a16b662 Commit 2024-01-25 21:52:10 +00:00
arthurr
57d216cdab Initial commit 2024-01-25 21:48:23 +00:00