I have created a client/server Java Multiplayer Memory Game. One game can have 4 clients. Each player has its own thread which sends/receives game info via a socket. My problem is I would like to add a lobby area that hosts an unlimited number of rooms which contain my memory game. How would I go about making this kind of lobby? Would the lobby just handle the clients connection IDs and spawn a thread for each memory game room. ? Is there any good books about creating multiplayer game lobbies? Or good examples and source??
Any info you can give would be greatly appreciated.
I had thought about creating a new game object, but how would players join the memory game object??? If you pass the socket connectns to the object how would players join once the object has been creted? Any thoughts.. [ November 11, 2005: Message edited by: Diane Tuff ]
posted 14 years ago
you could keep a list of all the games, and have a method in the game, addPlayer, I bet.
I've heard it takes forever to grow a woman from the ground