34 lines
740 B
TypeScript
34 lines
740 B
TypeScript
export * from '@/constants/standardCards';
|
|
export * from '@/constants/tarokka';
|
|
export * from '@/constants/tarokkaCards';
|
|
export * from '@/constants/time';
|
|
|
|
import type { GameUpdate, LocalSettings, Settings } from '@/types';
|
|
|
|
export const SETTINGS: Settings = {
|
|
cardStyle: 'color',
|
|
notes: true,
|
|
positionBack: true,
|
|
positionFront: true,
|
|
prophecy: true,
|
|
tilt: true,
|
|
remoteTilt: true,
|
|
};
|
|
|
|
export const GAME_START: GameUpdate = {
|
|
dmID: '',
|
|
spectatorID: '',
|
|
cards: [],
|
|
settings: SETTINGS,
|
|
tilts: Array.from({ length: 5 }, () => []),
|
|
};
|
|
|
|
export const LOCAL_DEFAULTS: LocalSettings = {
|
|
tilt: true,
|
|
remoteTilt: true,
|
|
};
|
|
|
|
export const LOCAL_SETTINGS = ['tilt', 'remoteTilt'];
|
|
|
|
export const SPECTATOR_SETTINGS = ['tilt', 'remoteTilt'];
|