Posted May 29, 2021 by nerdur
After a few days of struggling with the server communication (especially WASM part of it, that seems to be different) I took out my good old regexp ninja skills from years of perl programming and instead of fixing the problem just accepted it and made a nice little hack around it (data sent from the game running natively has a completely different encoding than the data coming from a browser game).
Now the game is sort of playable. Multiple players can be on the same game, there are bad guys, there is a level, there are points and stuff, but there is still not much of a goal. I will have to play a little with that going forward.