Re:I Made a Chess Library in Java
by Pmop on Thursday April 02, 2020 @09:30PM
(#22765599)
Is performing chess validations that heavy, if you're serving ~10,000 games? (just asking for a friend)
[ Parent
| on HN ]
To do all validations and move suggesions on the server side causes data traffic for no reason. Not just cpu time. It is senseless.
As a clarification, of course you will validate all moves on the server side and make sure client side state is consistent, but what I meant by validation is when you have to give every feedback from the server back to the client you will quickly find yourself in a ddos situation with so many players online.