export const globals = {
    CHAR_POOL: 'abcdefghijklmnopqrstuvwxyz0123456789',
    USER_SIGNATURE_LENGTH: 25,
    CLOCK_TICK_INTERVAL_MILLIS: 100,
    MAX_CUSTOM_ROLE_NAME_LENGTH: 30,
    MAX_CUSTOM_ROLE_DESCRIPTION_LENGTH: 500,
    TOAST_DURATION_DEFAULT: 6,
    ACCESS_CODE_LENGTH: 4,
    PLAYER_ID_COOKIE_KEY: 'play-werewolf-anon-id',
    COMMANDS: {
        FETCH_GAME_STATE: 'fetchGameState',
        START_GAME: 'startGame',
        PAUSE_TIMER: 'pauseTimer',
        RESUME_TIMER: 'resumeTimer',
        GET_TIME_REMAINING: 'getTimeRemaining',
        KILL_PLAYER: 'killPlayer',
        REVEAL_PLAYER: 'revealPlayer',
        TRANSFER_MODERATOR: 'transferModerator',
        CHANGE_NAME: 'changeName',
        END_GAME: 'endGame'
    },
    STATUS: {
        LOBBY: 'lobby',
        IN_PROGRESS: 'in progress',
        ENDED: 'ended'
    },
    ALIGNMENT: {
        GOOD: 'good',
        EVIL: 'evil'
    },
    MESSAGES: {
        ENTER_NAME: 'Client must enter name.'
    },
    EVENTS: {
        PLAYER_JOINED: 'playerJoined',
        SYNC_GAME_STATE: 'syncGameState',
        START_TIMER: 'startTimer',
        KILL_PLAYER: 'killPlayer',
        REVEAL_PLAYER: 'revealPlayer',
        CHANGE_NAME: 'changeName',
        START_GAME: 'startGame',
        PLAYER_LEFT: 'playerLeft',
        NEW_SPECTATOR: 'newSpectator'
    },
    SOCKET_EVENTS: {
        IN_GAME_MESSAGE: 'inGameMessage'
    },
    EVENT_IDS: {
        FETCH_GAME_STATE: 'fetchGameState',
        START_GAME: 'startGame',
        PAUSE_TIMER: 'pauseTimer',
        RESUME_TIMER: 'resumeTimer',
        GET_TIME_REMAINING: 'getTimeRemaining',
        KILL_PLAYER: 'killPlayer',
        REVEAL_PLAYER: 'revealPlayer',
        TRANSFER_MODERATOR: 'transferModerator',
        CHANGE_NAME: 'changeName',
        END_GAME: 'endGame'
    },
    USER_TYPES: {
        MODERATOR: 'moderator',
        PLAYER: 'player',
        TEMPORARY_MODERATOR: 'player / temp mod',
        KILLED_PLAYER: 'killed',
        SPECTATOR: 'spectator'
    },
    ENVIRONMENT: {
        LOCAL: 'local',
        PRODUCTION: 'production'
    },
    USER_TYPE_ICONS: {
        player: ' \uD83C\uDFAE',
        moderator: ' \uD83D\uDC51',
        'player / temp mod': ' \uD83C\uDFAE\uD83D\uDC51',
        spectator: ' \uD83D\uDC7B',
        killed: '\uD83D\uDC80'
    }
};
