// Game mode actions and action creators. export const MODE_ACTION = 'MODE_ACTION'; export const WELCOME = 'MODE_WELCOME'; export const BOARD = 'MODE_BOARD'; export const welcome = () => ({ type: MODE_ACTION, action: WELCOME }); export const board = () => ({ type: MODE_ACTION, action: BOARD });