mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-18 11:14:39 -05:00
- The big change here is that player.userid can now be empty. You can now fit state into RoomGamePlayer subclasses even when there are no users associated with them. - `game.players` has been introduced as the new canonical list of players, including userless players. The old `game.players` has been renamed `game.playerTable`, for clarity. - `game.addPlayer` now returns the added player All existing RoomGames have been updated for the new API, and RoomBattle is now officially a RoomGame subclass. Tournaments was also massively refactored to be properly updated for the old API, since that never happened, and should now be a lot more readable. |
||
|---|---|---|
| .. | ||
| trivia.js | ||