Sinisterly
Client-Server Socket Poker Game - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: C, C++, & Obj-C (https://sinister.ly/Forum-C-C-Obj-C)
+--- Thread: Client-Server Socket Poker Game (/Thread-Client-Server-Socket-Poker-Game)

Pages: 1 2 3


Client-Server Socket Poker Game - DarkMuse - 01-10-2018

As promised!

You just need to make the server and client, then run the server in the background (it doesn't ever require input just deals fresh decks)

7zip-Users: CardGame.7z
ZIP-Users:   CardGame.zip
Tar-Users:   CardGame.tar.gz

Edit:
I know it's not the greatest code, but I least strive to make it consistent and somewhat appeasing. If you guys have improvements, feel free to lmk or upload your own mods. GitHub would be neat.

GitHub Edit!
GitHub: GitHub


RE: Client-Server Socket Poker Game - DarkMuse - 01-10-2018

If anyone would prefer plain-text code, I will also post that.


RE: Client-Server Socket Poker Game - Synthx - 01-10-2018

I don't doubt you or anything at all, but who is "Admin"?

Spoiler: In this file:
[Image: QBdDjQWGRVuIAzr2iqJG2A.png]


That aside, thanks for this. I want to learn C sometime soon, and I think this could help.


RE: Client-Server Socket Poker Game - Pikami - 01-10-2018

(01-10-2018, 10:05 PM)Synthx Wrote: I don't doubt you or anything at all, but who is "Admin"?

I'm guessing it's his username on the PC he worked with.


RE: Client-Server Socket Poker Game - DarkMuse - 01-10-2018

(01-10-2018, 10:13 PM)Pikami Wrote:
(01-10-2018, 10:05 PM)Synthx Wrote: I don't doubt you or anything at all, but who is "Admin"?

I'm guessing it's his username on the PC he worked with.

Winner winner, chicken dinner.


RE: Client-Server Socket Poker Game - Bish0pQ - 01-11-2018

Thank you man, I've been working on a Poker client as well (in C# though) I might upload the files later on GitHub or BitBucket.


RE: Client-Server Socket Poker Game - DarkMuse - 01-12-2018

(01-11-2018, 10:02 AM)Bish0pQ Wrote: Thank you man, I've been working on a Poker client as well (in C# though) I might upload the files later on GitHub or BitBucket.

What are the odds lol. For school I assume!

Either way, would definitely be interested in how you did yours!


RE: Client-Server Socket Poker Game - mothered - 01-12-2018

Just letting you know that all links are down.

When you re-up, I'll certainly check It out.


RE: Client-Server Socket Poker Game - phyrrus9 - 01-12-2018

(01-10-2018, 06:02 AM)DarkMuse Wrote: As promised!

You just need to make the server and client, then run the server in the background (it doesn't ever require input just deals fresh decks)

7zip-Users: CardGame.7z
ZIP-Users:   CardGame.zip
Tar-Users:   CardGame.tar.gz

Edit:
I know it's not the greatest code, but I least strive to make it consistent and somewhat appeasing. If you guys have improvements, feel free to lmk or upload your own mods. GitHub would be neat.

[Image: ta7VOzQ.png]

Also, you should get a GitHub account....they're very handy for stuff like this


RE: Client-Server Socket Poker Game - Blink - 01-12-2018

(01-12-2018, 06:30 AM)phyrrus9 Wrote: Also, you should get a GitHub account....they're very handy for stuff like this

GitLab is also very nice for this, it's open source, and private repos are free, unlike in GitHub.