Module 02 of 10

Pick a Server Language

Lessons

About This Module

A game server can be written in many languages, and there is no single right answer. What matters is that you pick one language and learn it well enough to build real projects with it. The choice usually depends on the game engine you work with, the performance you need, and the languages your team already knows.

In this module you'll get a starter tutorial for four common choices. C++ gives you low-level control and is common when a server shares code with an engine. C# is a productive choice, especially alongside Unity. Go is popular for services such as matchmaking thanks to its simple concurrency, and Java is a long-established option with strong networking libraries.

Once you've picked a language, you'll be ready for the next module, Version Control & Repo Hosting, where you learn to track and share your code with Git.

Lessons

4 videos
01

A Multiplayer Game Server in C++

A brief tutorial on using TCP/IP to create a multiplayer game in C++, with the full source code available to follow along.

02

A UDP Server and Client in C#

Build a UDP server and client in C#, the kind of fast, lightweight networking real-time games rely on.

03

A Multiplayer Game Server in Go

Start a multiplayer game in Go by building a master server that manages the games currently running.

04

Creating a Multiplayer Server in Java

The first episode of a Java multiplayer series, building a game server that handles connections with a single thread.