Sudoku Battlegrounds
[The development of Sudoku Battlegrounds is still in progress. This article will surely evolve over time.]
---
Like any aspiring game developer, I have always fantasized about creating my own MMORPG.
Now, I know this is not a very realistic goal as solo indie dev - especially the massively multiplayer bit. But that's not the part I'm most interested in anyway: building a large world with diverse characters, creatures, quest lines, objectives, secrets, challenges, etc., in an always-up multiplayer world, is what I really dream about. And that can be done, I believe, with enough time and effort.
With that said, I think it's important to point out that I have never built a multiplayer game before.
I'm not going to start that dream game without first having a good idea how multiplayer games work and are built. But I also know myself: the only way I can really learn how to do something is to... jump in and do it.
That, my friends, is how the idea for Sudoku Battlegrounds first came to be.
I needed a simple multiplayer game project to start building in order to teach myself multiplayer game networking, infrastructure, and overall development. I also thought it would be good to have built and released a first "real" game, just to get an idea of how the full development, QA, marketing and Steam release flow feels like.
So I briefly brainstormed game ideas, gave myself a rough estimate of 4-6 months of "doing this in my very limited free time" from first commit to Steam release, and got started.
Deciding on the stack / tools
The first thing I decided was to... jump into this with a new language (because why not???).
I had very briefly used C# and .NET in previous work and hobby projects, but I definitely wasn't comfortable with it. But I knew I wanted to try a more strongly typed approach than what Godot's GDScript offers by default. I also wanted to try to stay away from Godot's built-in multiplayer tools and primitives, seeing as the goal with this project was to learn how the underlying multiplayer systems and flows work, and how they are built.
I'm also pretty bad and slow at creating visual assets, and wanted to keep the game's design and visuals cute but simple.
With all that said, I ended up with the following rough "stack" / choices:
- a single repository, with three C# / .NET codebases inside:
- a Godot project for the game client;
- a C# / .NET game server, completely detached from Godot;
- a shared library/project, which is used by both the client and the server for common things like network packet definitions and helpers, simulation logic, constants, etc.
- Kenney's Scribble Platformer (and expansions / related) asset packs;
- cheap DigitalOcean droplets to host the actual servers.
Starting with some light reading
Although I learn best from actually building / doing things, I had read a good article by IT Hare in the past (Ultimate DB Heresy: Single Modifying DB Connection. Part I. Performance), and knew they had some physical books on multiplayer game development, so I ordered and read the first volume: Development and Deployment of Multiplayer Online Games, Vol. I: GDD, Authoritative Servers, Communications.
This didn't suddenly make be the best multiplayer game developer in the world, but it did help me learn some basic principles before I actually had to implement them.