Sign up ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I need to develop a simple multiplayer card game. For example, a poker game; this is only for study. I am going to develop it in Java.

How I can I manage communication between the server and clients? Can I use sockets for this game?

Edit: Thanks, I know socket programming. I know the programming socket. I just wanted to know if it was the correct technique for a multiplayer game like online poker.

share|improve this question

1 Answer 1

Yep, sockets would work just fine. There's a great tutorial using Java, that not only shows you how to use the sockets, but also teaches you about the underlying fundamentals. The tutorial can be found here:

Make sure you look at all 3 of the tutorial.

And the entire source code for the tutorial is found here:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.