-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
shuffle around multiplayer constants
- Loading branch information
1 parent
50a4295
commit 6a1c93e
Showing
4 changed files
with
49 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import { CATEGORIES, SUBCATEGORIES_FLATTENED } from '../../constants.js'; | ||
|
||
export const ROOM_NAME_MAX_LENGTH = 32; | ||
export const USERNAME_MAX_LENGTH = 32; | ||
|
||
/** | ||
* List of multiplayer permanent room names. | ||
*/ | ||
export const PERMANENT_ROOMS = [ | ||
{ | ||
name: 'hsquizbowl', | ||
categories: CATEGORIES, | ||
subcategories: SUBCATEGORIES_FLATTENED, | ||
}, | ||
{ | ||
name: 'collegequizbowl', | ||
categories: CATEGORIES, | ||
subcategories: SUBCATEGORIES_FLATTENED, | ||
}, | ||
{ | ||
name: 'literature', | ||
categories: ['Literature'], | ||
subcategories: ['American Literature', 'British Literature', 'Classical Literature', 'European Literature', 'World Literature', 'Other Literature'], | ||
}, | ||
{ | ||
name: 'history', | ||
categories: ['History'], | ||
subcategories: ['American History', 'Ancient History', 'European History', 'World History', 'Other History'], | ||
}, | ||
{ | ||
name: 'science', | ||
categories: ['Science'], | ||
subcategories: ['Biology', 'Chemistry', 'Physics', 'Other Science'], | ||
}, | ||
{ | ||
name: 'fine-arts', | ||
categories: ['Fine Arts'], | ||
subcategories: ['Visual Fine Arts', 'Auditory Fine Arts', 'Other Fine Arts'], | ||
}, | ||
{ | ||
name: 'trash', | ||
categories: ['Trash'], | ||
subcategories: ['Trash'], | ||
}, | ||
]; |