Progress on the game backend; and short-term plans

July 24, 2025

Some progress on the game backend

It’s been over a month since my last update, and I’ll admit I haven’t made as much progress on the game backend as I’d hoped. Much of my time has been spent refining the codebase structure, which had started to become messy. Currently, the code is organized into the following modules (though I am not intending to run different modules on different servers - i.e. microservices; nor do I intend to separate them into npm packages):

  • Auth module
  • Room module
  • Battle module
  • Socket manager module

I also dedicated some time to writing documentation for both the overall codebase and individual modules. This helps clear up any blurred lines of responsbility between each of the components of the codebase.

Screenshot of the Git commit on the codebase documentationScreenshot of the Git commit on the codebase documentation

Current challenges, and short-term goals

The next immediate priority is implementing real-time action handling for players via SocketIO connections. Key questions I’m addressing include:

  • How can player inputs be collected in real-time over SocketIO while enforcing time limits for submissions?
  • How to broadcast the game state to all players in real-time?
  • How can multiple game battles be processed asynchronously and in parallel?

Additionally, I’ve been considering creating presentation decks or videos to showcase the game’s core mechanics. To make this happen, I’ll need to generate mock game art and card designs. My goal is to have the presentation ready in two weeks — by August 7th.