Multiplayer Word Game
To build a scalable backend infrastructure with low latency and optimized server costs where players can interact simultaneously.
I established the in-game event system and modular structure using Dependency Injection and Observer patterns. This prevented spaghetti code and increased the testability of the system.
I deployed the game services as self-hosted using Dokploy, Traefik, and Docker. Traefik provided load balancing and optimized server resources.
// Example Event-Driven Structure
public class GameEventManager {
public static event Action<Player> OnPlayerJoined;
public void JoinGame(Player player) {
// Validation logic
OnPlayerJoined?.Invoke(player);
}
}