A CLassic Warm Game Over TCP/IP with Multiplayer Support


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.


Up Next
    Ebook Download
    View all
    Learn
    View all