I’m working on a game which would be hosted on a local network, but played as a HTML5 game. I’ve got a small server running on the LAN (which serves the game), and want to monitor player’s scores when they die in this (single player) game. I’ve been thinking about ways to do this, but figured before I jump in and start making things I should check with you guys what would be a recommended approach.
I effectively want the server to maintain a highscore of all games which were played on that LAN.
Currently I am thinking of two options:
- The socket API
- Colyseus Multiplayer Framework
I am already comfortable with Colyseus for multiplayer development, and think it’s probably far too much for what I am trying to do.
Any help is greatly appreciated.