C++ Networking Showcase: Multiplayer Card Game (Winsock 2 + Raylib)

Опубликовано: 16 Июль 2026
на канале: Jones
4,609
146

In this video, I showcase a networked C++ program I'm working on: a multiplayer card game built on a client-server architecture. The libraries I'm using are the Winsock 2 API for networking, and the fantastic raylib library for graphics and input.

While there aren't many gameplay features, there is a decent amount of networking involved, and so I thought it was worth sharing some socket code put into practice, outside of tutorial basics. However, this is just an overview of the game as a whole. I do want to do more in-depth tutorials on networking, actually getting into the Winsock calls and infrastructure and such, so if that interests you, consider sticking around for more content.

Until then, if you want to learn more about raylib or game programming in general, check out my previous video:    • C++ Game Programming For Beginners - Pong ...  .

Note: there are a couple editing glitches that I fixed after uploading, but before blurring certain parts of the video. Apparently, you can't do both! So, I sufficed to uploading a blurred version of the original, without fixing the glitches.

Additional Resources
Beej's Guide to Network Programming: https://beej.us/guide/bgnet/
Winsock 2 Documentation: https://learn.microsoft.com/en-us/win...

Timestamps:
0:00 - Intro
0:30 - Program Showcase
2:08 - Project Structure
3:57 - Aside: raylib + Winsock Conflict
5:10 - Code Review: Server
9:52 - Code Review: Client (Networking Logic)
14:27 - Code Review: Client (Game Logic)
19:18 - Networking Guides/Resources
20:45 - Outro (comment/like/subscribe!)