NodeJS server code for the nattle-royale 4-party multiplayer adaptation of the classic 2048 game.
- Intro to WebSockets and implementation: https://blog.teamtreehouse.com/an-introduction-to-websockets
Server can be run with:
sudo npm installnpm startfor regular boot ORnpm start-devfor use withnodemon
Listens for WebSocket traffic on port 8000.