varkor / pokengine

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

Sending constants #94

Closed varkor closed 9 years ago

varkor commented 10 years ago

At the moment, constants, such as the type of a Pokémon, is sent via the actual underlying value of that property (15 for Ice, for example). This is opaque, and I think it would be better to send the actual value. However, this could be a problem if those values were ever to change in the future, so more thought is needed here.