public Guid AddTimedGame(ChessTimedGame game) { var id = Guid.NewGuid(); game.Id = id; TimedGames.Add(id, game); MessageNotifiers?.Invoke("newGame", id.ToString()); return(id); }
public void EndTimedGame(ChessTimedGame game) { MessageNotifiers?.Invoke("endGame", game.Id.ToString()); }