Implement surrender of reversi

This commit is contained in:
syuilo 2018-08-04 22:28:01 +09:00
parent 244d567b3a
commit be9f6ad294
4 changed files with 98 additions and 2 deletions

View file

@ -25,6 +25,7 @@ export interface IReversiGame {
isStarted: boolean;
isEnded: boolean;
winnerId: mongo.ObjectID;
surrendered: mongo.ObjectID;
logs: Array<{
at: Date;
color: boolean;