It’s talk about making of interactive coding battle game for 2 players for it-conferences (video: https://www.youtube.com/watch?v=LfgaRFnmkhk). Can be interesting for all who feel JS fatigue and stoped to believe in web as a game platform.
So what about making of safe JS sandbox? Preventing infinity loops, eval and other potentially harmful operations?
We will go step by step to make a solid armor to protect client application from unsafe JS code.
It’s a game for programmers and it means, that anybody will want to hack you server. I’ll tell you how I made web socket connections management based on different roles with permissions. How to stop be scared of RxJS to work with asynchronous code and why Math.random() can be main issue of game release.