diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-03-13 01:49:54 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-03-13 01:49:54 +0900 |
| commit | e6f68e0b9e7f97f0a7f1c9c98c5a3839c843a100 (patch) | |
| tree | 29a782cd5b7529a7de7cc5d1462a6997e99a9ba8 /src/api/models | |
| parent | v4114 (diff) | |
| download | sharkey-e6f68e0b9e7f97f0a7f1c9c98c5a3839c843a100.tar.gz sharkey-e6f68e0b9e7f97f0a7f1c9c98c5a3839c843a100.tar.bz2 sharkey-e6f68e0b9e7f97f0a7f1c9c98c5a3839c843a100.zip | |
オセロで黒白を真理値で表現するように
Diffstat (limited to 'src/api/models')
| -rw-r--r-- | src/api/models/othello-game.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/api/models/othello-game.ts b/src/api/models/othello-game.ts index 788fb5cba6..01c6ca6c00 100644 --- a/src/api/models/othello-game.ts +++ b/src/api/models/othello-game.ts @@ -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; |