Esempio n. 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);
        }
Esempio n. 2
0
 public void EndTimedGame(ChessTimedGame game)
 {
     MessageNotifiers?.Invoke("endGame", game.Id.ToString());
 }