Websocket server used for a multiplayer pong
To run in development mode:
yarn dev
To build:
yarn build
To run the built code
yarn start
This code is just a prototype for a game server. If you are serious about build a server for your game look for something else to follow as a model. The messages are exchanged using JSON which is really bad practice. And there are no error treatment.