Networked Multiplayer Asteroids

During this course we worked with the Winsock API (Windows Sockets API) using TCP and UDP protocols, starting from a simple echo server where the server would send back the outputted message, passing through a networked chess and finishing with the multiplayer asteroids.

In this project, we had to convert a single-player asteroids game to a networked multiplayer game using UDP. For this assignment I was in charge of the design and development of the Client, this is, the receiving and processing of the messages and the sending of the new state of the world.

 

In this video you can see:

  • Synchronization between the server (top left window) and clients (other three windows).
  • Special powers of players (missile and fire ring).
  • Player´s score.
  • Win / loose screens.