-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
30 lines (30 loc) · 853 Bytes
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
module.exports = {
actionConst: {
SET_USER_CURRENT_INPUT: 'SET_USER_CURRENT_INPUT',
SUBMIT_USER_INPUT: 'SUBMIT_USER_INPUT',
NEW_LOG_ENTRY: 'NEW_LOG_ENTRY',
SEND_COMMAND: 'SEND_COMMAND',
INVALID_COMMAND: 'INVALID_COMMAND',
NEW_USER: 'NEW_USER',
USER_HIT: 'USER_HIT',
USER_SPLIT: 'USER_SPLIT',
USER_DOUBLE: 'USER_DOUBLE',
USER_HOLD: 'USER_HOLD',
UPDATE_USERS: 'UPDATE_USERS',
UPDATE_USER: 'UPDATE_USER',
USER_MESSAGE_CHANGE: 'USER_MESSAGE_CHANGE',
USER_MESSAGE_SUBMIT: 'USER_MESSAGE_SUBMIT',
UPDATE_MESSAGE_LOGS: 'UPDATE_MESSAGE_LOGS',
USER_PLACE_BET: 'USER_PLACE_BET',
GAME_PHASE_CHANGE: 'GAME_PHASE_CHANGE',
ASSIGN_ID: 'ASSIGN_ID',
UPDATE_CURRENT_USER_ID: 'UPDATE_CURRENT_USER_ID',
UPDATE_DEALER: 'UPDATE_DEALER',
GAME_TICK: 'GAME_TICK',
},
commandNames: {
EAT: 'eat',
SAY: 'say',
CLEAR: 'clear',
}
}