Description
Worms.NET is an example of networking and graphics programming on .NET. This is a classic game with a worm. Rules are simple: you must move your worm and eat the apples, each apple make your worm bigger.If your worm reached the edges of the board or another worm it will die. Worm controlled by cursor keys. When you start the program you can run a server or connect to an existing one. Up to 5 user can play connected to the server.
Connected client send to the server commands to move the worm by TCP protocol. The server send to clients game information(such as players list, worm coordinates, apples coordinates) by UDP protocol. UDP is used because of TCP works much slower and it performance not enough for real-time applications.
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.
Wajahat HaiderPosted Jul 17, 2021, 7:48 AM
Not able to run multiple players
Benjamin BoyerPosted Aug 9, 2010, 1:24 PM
This is the best gane server tutorial I've ever seen so far now. A really big thank you!