Click here to Skip to main content
16,008,010 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi!

uhm, can someone send me a link in how to create a networking game? I've been researching a game-like scrabbles to relate to snakes and ladders game. :doh:

I highly appreciate if you could also suggest some code snippets...
Thank you!

-----------------------------------------------
Hi!

I haven't finished my project yet but there's a link that I suggest to connect multiple clients/players...
http://vb.net-informations.com/communications/vb.net_multithreaded_Socket_programming.htm[]

It's basic but it really helps...
I based it here... ^^,
Posted
Updated 8-Mar-11 12:29pm
v2

Use Lidgren. Lidgren is a socket wrapper, I have used it in a few small scale multiplayer games, ( mainly by using a header stating packet type. ie first byte represents packet type).

lidgren-network-gen3[^]
 
Share this answer
 
Comments
ladyemz21 8-Mar-11 6:33am    
uhm, the link is great but are there any specific link that can help us solve the problem?? thank you!
Sergey Alexandrovich Kryukov 8-Mar-11 14:54pm    
@adyemz21:
I'm just curious, did you voted 3 just because you still don't have a link which would show you how to do all your work?
Please answer.
--SA
ladyemz21 8-Mar-11 17:54pm    
actually , the link that had suggested is great. I've been to many resources/ links to go this far for our project. I thought I should give some points... but it doesn't mean that I give that because I'm looking for a link that will show all the work for me. ^^,
You need to learn about SOCKETS here is a good article about sockets I suggest you give it a read:

http://vb.net-informations.com/communications/vb.net_socket_programming.htm[^]

If this your first game I suggest you do something simple as it can get complex because of sync issues.

Good Luck!!

Regards,
K,D.
 
Share this answer
 
v2
Comments
ladyemz21 8-Mar-11 17:56pm    
I appreciate it!!!
Yes, I'm new to it! but I've been giving lots of efforts to finish my code. ^^,
ladyemz21 8-Mar-11 18:02pm    
Hey! I've been in that link many times and I had lots of fun!
hehe It really helped me to improve my project...
Kurt Degiorgio 9-Mar-11 5:24am    
your welcome :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900