コード例 #1
0
        public Guid AddTimedGame(ChessTimedGame game)
        {
            var id = Guid.NewGuid();

            game.Id = id;
            TimedGames.Add(id, game);
            MessageNotifiers?.Invoke("newGame", id.ToString());
            return(id);
        }
コード例 #2
0
 public void EndTimedGame(ChessTimedGame game)
 {
     MessageNotifiers?.Invoke("endGame", game.Id.ToString());
 }