オセロで黒白を真理値で表現するように

This commit is contained in:
syuilo
2018-03-13 01:49:54 +09:00
parent 1d62003e08
commit e6f68e0b9e
4 changed files with 98 additions and 57 deletions

View File

@@ -25,7 +25,11 @@ export interface IGame {
is_started: boolean;
is_ended: boolean;
winner_id: mongo.ObjectID;
logs: any[];
logs: Array<{
at: Date;
color: boolean;
pos: number;
}>;
settings: {
map: string[];
bw: string | number;