C game dev

game dev playlist running along side my other c systems learning to keep learning fun and interesting

Curated by: notrobinnot (15 videos)


Currently Playing: C game dev 05 - card game logic

Continuing to build on my game written in c, using raylib, no game engine... focusing on a roguelike deckbuilder, and today im going to fix up the script for general card logic, managing deck, discard and player hand, and moving of the cards betweenn the 3. So far the programming is going reasonably well but will also need to review probably 1000 bugs... I’ve been undecided about whether I want to do more programming on these sort of ‘low-level’ systems or game dev focused stuff with raylib, so why not do both I guess. Things I’d like to cover in this stream: + game development on the deckbuilder roguelike game + card related logic, between the 3 piles + bugs and general Video Chapters: 00:00 Intro & Game Crash After Card Logic Changes 01:02 Reviewing Card Struct, Pile Struct & Shuffle Code 04:17 Fixing Shuffle Array Overflow Bug in C 06:22 Draw Hand Function & Initializing Deck Piles 12:22 Testing the Fix & Gameplay Loop with raylib 13:30 Rendering Drawn Cards Instead of Hardcoded Values 17:27 Debugging Deck Shuffling & Card Count Updates 22:00 Implementing Dynamic Card Actions, Damage & Energy Cost 28:55 Chat Q&A, Card Slots vs. Hand Array & Refactoring Plans 34:45 Testing Shuffled Hand Gameplay & Wrapping Up New social media links if you’re interested: + twitch https://www.twitch.tv/notrobinnot About: Hi! I’m Robin, I’m trying to learn low level / systems programming by teaching myself C, I’m not using any AI generated code to build things I want to learn the good ol’ fashioned way. However, with that said, I may still use AI from time to time for some guidance but I try to avoid it. I’m using YouTube and Twitch to hold myself accountable but also because I’d like to get more involved in tech / coding communities and to build in public! I have some experience with Python from my day job but only for building data pipelines and other than that, I’m very much a beginner / junior / new to all of this with zero experience in software development. So far I’ve been following Beej’ Guide to C Programming, along with starting some basic game dev projects using raylib to keep things interesting while I learn. I hope to build some cool stuff in the future like a compiler, websocket, interpreter, a more full fleshed unique game of my own and much more if you would like to watch!


Tracks in this Playlist