mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-27 10:59:16 -05:00
BattleRoom is now GameRoom, a slightly more abstract room type capable of holding any of a number of possible roomgames. Currently, battles are the only such roomgame, but any future roomgame could possibly use it. Differences between ChatRoom and GameRoom: - GameRooms start at the left, ChatRooms start at the right - GameRooms have chat on the right, and a game area on the left, with a view area at the top left and a controls area at the bottom left - GameRooms retain all their logs, ChatRooms only retain the latest 100 lines - GameRooms expire after 40 minutes of inactivity or 10 minutes of zero online users (configurable in the future) - GameRooms are guaranteed to have an associated game, while ChatRooms may or may not |
||
|---|---|---|
| .. | ||
| ladders-matchmaker.js | ||
| process-manager.js | ||
| rooms.js | ||
| simulator.js | ||
| sockets.js | ||
| team-validator.js | ||
| users.js | ||