public AiPlayer(AiMode aiMode, GameGrid gameGrid)
 {
     _gameGrid = gameGrid;
     _strategy = StrategiesFactory.CreateStrategy(aiMode, gameGrid);
     Login     = $"{aiMode}Robot";
 }
コード例 #2
0
 public AiPlayer(AiMode aiMode, SticksGame game)
 {
     _game     = game;
     _strategy = StrategiesFactory.CreateStrategy(aiMode, _game);
     Login     = $"{aiMode}Robot";
 }