I've been spending alot of time on the underlying base for my game architecture and wanted to post something that I was looking at for fellow users to judge, point at and laugh or to give a nod in affirmation.
When a hosting client first starts up
they tell server who they are
the server starts a new game thread, which in essence is nothing more than a client with game code
the server gives this new game thread the hosting clients playerID for message passing
the server gives the hosting client the new game thread playerID for message passing
with the hosting client and the new game thread each having each others playerID they can communicate directly without the server having to parse messages or be involved at all.
This is the kind of Multiplayer architecture I've been wanting to create for a few months now and I believe JGN is very capable of doing this. My main holdup right now is how to make the server create a game instance and give it a playerID so that connecting clients can communicate directly with the game without any middlemen.
I will definitely keep poking around and hopefully something here will click, unless someone says this is backwoods, hill billy, campfire jig dancing technique!
