varkor / pokengine

An online Pokémon battle system for the web
http://varkor.com/pokengine/battle/
MIT License
54 stars 11 forks source link

Validate inputs sent to the server #166

Closed varkor closed 9 years ago

varkor commented 9 years ago

At the moment, the server will process anything sent to it by the client, which is obviously not a good idea. Supervisor should be able to check the input it receives against all possible inputs for the current battle situation. If the input is invalid, some warning should be raised (like with syncing).