varkor / pokengine

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

The team system should be replaced with unique IDs #92

Closed varkor closed 9 years ago

varkor commented 10 years ago

At the moment, the trainers in a multiplayer battle are referenced by their team (0 for the initiator, 1 for the invitee). It would be a lot better to use the trainer's unique IDs for this purpose instead.

varkor commented 9 years ago

This is how the system is now currently handled in Pokéngine (and would be advised of any server running the battle system in the future).