by drhayes9 · 12y ago · 0 comments
I'd be very interested in hearing about the server-side setup, especially around isolating the code so some rando doesn't "require('fs')" and do damage to the server. How are you isolating the brains from the sensitive game data and from each other? How long does a single game take to run given max users? How are you protecting against "while(true);"?
Here's a repo that looks related: https://github.com/JavascriptBattle/javascript-battle-webwor...
No matter how many turns are played, a match ends after 30 minutes? According to the rules, no team wins in this case?