Ideas for improvement: * [x] Poll for changes to state so that refreshes are not required. (done in #510) * [x] Option to automatically remove room if all users leave the room (made the default behaviour in #276) * [ ] Add optional unique name check * [ ] Add optional limit for rooms (will disable 'create room' button if rooms number reached limit) * [ ] Provide ability to customize ui when waiting for an API call (i.e. loading state) * [x] Rename `gameInstances` to `rooms` (easier to understand). (done in #406 and then re-renamed to `matches` in #704) * [x] Show leave button even if the game is ready to play. (done in #510) EDIT: Design document by @flamecoals: [link](https://docs.google.com/document/d/1K0xDlyS_80WJic7GfNobl-SujfC8_LiB55-JJnAawNM/edit#)
Ideas for improvement:
gameInstancestorooms(easier to understand). (done in More refactoring for lobby #406 and then re-renamed tomatchesin Fix #703 - Use the term "match" in the API and Lobby #704)EDIT: Design document by @flamecoals: link