varkor / pokengine

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

Generate NPC actions on the server #164

Open varkor opened 9 years ago

varkor commented 9 years ago

At the moment, both wild Pokémon's and NPC trainers' actions can be predicted on the client. If the battle system has access to a server, it would be better simply to generate the actions there, and treat NPCs and wild Pokémon as online trainers in their own right (but trigger Supervisor messages artificially on the server).