tubeshowcase●920,148 videos♡ My collection 0
← Learn to Code

Learn to Code43:46

Coding Challenge #32.2: Agar.io - Part 2 (Networking with Socket.IO and Node.js)

The Coding Train ↗

From the creator

In this multi-part coding challenge, I create a clone of the multiplayer online game Agar.io with JavaScript, node.js and websockets. Code: https://thecodingtrain.com/challenges/32-agario 🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/J3BZeLP02 Other Parts of this Challenge: 📺 Agar.io - Part 1 (Basic Game Mechanics): https://youtu.be/JXuxYMGe4KI 🎥 Previous video: https://youtu.be/cXgA1d_E-jY?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH 🎥 Next video: https://youtu.be/flQgnCUxHlw?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH 🎥 All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH References: 🔗 Agar.io on Wikipedia: https://en.wikipedia.org/wiki/Agar.io 🔗 Agar.io: http://agar.io 🔗 Node.js: https://nodejs.org/en/ 🔗 Socket.io: http://socket.io/ Videos: 🚂 Collaborative p5.js Sketches Channel: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6b36TzJidYfIYwTFEq3K5qH Livestream Archive: 🔴 Livestream #55: https://youtu.be/eOii4P7WYbY 🔴 Livestream #58: https://youtu.be/_cDPN2Ief6Q Related Coding Challenges: 🚂 #36 Blobby!: https://youtu.be/rX5p-QRP6R4 🚂 #69 Evolutionary Steering Behaviors: https://youtu.be/flxOkx0yLrY Timestamps: 0:00 Introduce the coding challenge 0:23 Mention the previous coding challenge 'Agar.io - Part 1' 0:52 Mention tutorial on node.js and web sockets 1:22 Sketch client-server communication 3:00 Set up a node server 4:35 Examine server code 5:00 Examine client code 5:10 Add a web socket 5:42 Reference the socket

Published 2016-09-04 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code