I'm not saying the actual security measure protects against DDoS itself, what I mean is that assuming website does receive DDoS attacks, as well as affecting the website, it's most likely to interrupt the gameserver as well due to overloaded database. Where as by limiting the script to one connection per lets say 5minutes, will help prevent that from happening.