This commit is contained in:
Viktor Rådberg
2023-12-27 19:49:38 +01:00
parent 183fd9c079
commit 808c55109d
15 changed files with 687 additions and 630 deletions

View File

@@ -1,6 +1,8 @@
import { GridTemplateAreas } from '../Data/GridTemplateAreas';
type Orientation = 'side' | 'landscape' | 'portrait';
export enum Orientation {
OppositeLandscape = 'opposite-landscape',
Landscape = 'landscape',
Portrait = 'portrait',
}
export type Settings = {
keepAwake: boolean;
@@ -13,8 +15,7 @@ export type InitialGameSettings = {
useCommanderDamage: boolean;
gameFormat?: GameFormat;
numberOfPlayers: number;
gridAreas: GridTemplateAreas;
orientation?: Orientation;
orientation: Orientation;
};
type GameFormat = 'commander' | 'standard' | 'two-headed-giant';