How to make a Game like Tetris Network Multiplayer over WebSockets in JavaScript

How to make a Game like Tetris Network Multiplayer over WebSockets in JavaScript

Tetris Network Multiplayer over WebSockets in JavaScript In this episode we step into the networking world in our Tetris series and make it a multiplayer game with support for rooms. Try it out at http://ift.tt/2ivD9hW - open the web site and then share the URL with a friend to play together. Starting point can be cloned from http://ift.tt/2jiqTym We will look at * Set and Map data types. * WebSocket in the browser and in Node.js. * making a custom Event lib. * HTML template tag. * Serializing/Deserializing with JSON. To follow this…continue reading →