Networking for games
Understand how players talk to a server.
Learn
- TCP, UDP and WebSockets
- Latency, packet loss and jitter
- Messages and how to design them
- Testing with a bad network
Tools
- Wireshark
- A network condition simulator
- A WebSocket library
Build
- A simple chat or position-sharing server for two clients
- A test of how it behaves with 200 ms delay
CheckpointYou can explain why a player sees something later than another player.