Our use case will be straightforward, and we will not focus on a specific in-game system. Instead, we will concentrate on building a simple Service Locator that will offer the ability to link a client to the following services dynamically:
- Currency converter: A service that converts in-game currency to a real-world value
- Lighting coordinator: A system that manages the lights in our scenes
- Lobby coordinator: A service that coordinates with the multiplayer lobby to set up "death matches"
But, of course, we could add many available services to the registry, but for this example, we will focus on just those three.