top of page



UDP ASTEROIDS
Class
CS260
Instructor
Eder Beldad
Language
C++
About
The idea of this project was to implement a multiplayer system using UDP protocol and Winsock library in an already created asteroids game. It was a challenge, as this was the first time that I tried to use networking in a real game. While doing this assignment I learnt about the different techniques that could be used in a multiplayer game (lockstep, dead reckoning, etc...)
Features
-
Singleplayer mode
-
Multiplayer mode - 4 players maximum
-
Client - Server Model
-
Reliable with a packet loss of 30% (more or less)
-
Each player has its own simulation in case of extreme packet loss
-
Full UDP system mimicking TCP protocol
-
Disconnection/Connection while the game is running (no need for lobby)
​
bottom of page