Card deck in C
I'm working on a Raylib game in C. It's a Scoundrel clone, which is a card based dungeon crawler. Anyway, I thought I'd share a code snippet of how I am generating the deck of cards using C.
I like to program as close to vanilla as possible. Because abstractions are complex. Seriously, why give a man a fish when you could teach him about asynchronous programming?
I've been paid to program for 13 years. People have paid me to write SQL, Java, Python, PHP, C, and C++. Which is ridiculous as it's my hobby. I love to code.
I'm working on a Raylib game in C. It's a Scoundrel clone, which is a card based dungeon crawler. Anyway, I thought I'd share a code snippet of how I am generating the deck of cards using C.
"Every developer should host their own blog". Is a statement repeated regularly across socials. I agree, they should. But I didn't untill now, so don't beat yourself up over it. Here is a quick run down of how this blog is hosted.
Phase one for day 6 only. Phase 2 beat me. Spent over an hour on it, but the left vs right justifying of numbers got me. I may come back to it, but I've spent all the time I want to on it tonight.