werewolf-core
Version:
Are you a WEREWOLF?
22 lines (21 loc) • 556 B
TypeScript
import * as lib from '../lib';
import { VoteBox } from './lib/votebox';
import { Log } from './log';
export interface Rule {
}
export declare const PHASE_PROLOGUE: string;
export declare const PHASE_DAY: string;
export declare const PHASE_NIGHT: string;
export interface Field extends lib.Field {
rule: Rule;
phase: string;
day: number;
logs: Array<Log>;
votebox: VoteBox;
werewolfRemains: number;
werewolfTarget: Array<{
from: string;
to: string;
}>;
}
export declare function initField(rule: Rule): Field;