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