Boardgame server implementation in NodeJS