示例#1
0
        public virtual async Task <GameState> StartNewGameAsync(string connectionId)
        {
            GameState g = GameState.CreateNew(_gameLogic);

            g.ConnectionId = connectionId;

            return(await _storage.AddGameAsync(g));
        }