Tetris Network Multiplayer over WebSockets in JavaScript HD

02.11.2016
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://tetris.pomle.com/ - open the web site and then share the URL with a friend to play together. Starting point can be cloned from https://github.com/meth-meth-method/tetris-network-multiplayer/tree/5543847f98ce664ac97f60ceefc4246e4d395a5b 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 tutorial you should be comfortable in coding JavaScript in both a browser and Node environment and be familiar with previous parts in series. Part 1 - Writing a Tetris game in JavaScript https://youtu.be/H2aW5V46khA Part 2 - Rewriting Tetris to 2-Player https://youtu.be/JJo5JpbuTTs Source code for finished project: https://github.com/meth-meth-method/tetris-network-multiplayer Music: Demoscene Time Machine http://demoscenetimemachine.com

Похожие видео

Показать еще