summaryrefslogtreecommitdiff
path: root/src/api/models
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-03-13 01:49:54 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-03-13 01:49:54 +0900
commite6f68e0b9e7f97f0a7f1c9c98c5a3839c843a100 (patch)
tree29a782cd5b7529a7de7cc5d1462a6997e99a9ba8 /src/api/models
parentv4114 (diff)
downloadsharkey-e6f68e0b9e7f97f0a7f1c9c98c5a3839c843a100.tar.gz
sharkey-e6f68e0b9e7f97f0a7f1c9c98c5a3839c843a100.tar.bz2
sharkey-e6f68e0b9e7f97f0a7f1c9c98c5a3839c843a100.zip
オセロで黒白を真理値で表現するように
Diffstat (limited to 'src/api/models')
-rw-r--r--src/api/models/othello-game.ts6
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;