private void EvaluateDodgeBulletScenario(GameState currGameState, GameSituation gameSituation) { Scenario scenario = new ScenarioToDodgeABullet(currGameState, gameSituation, YourPlayerIndex); ScenarioEvaluator.EvaluateScenario(scenario); /* NB: There is no need to choose moves as well. * This will already be done while evaluating the scenario, * since there aren't alternative strategies to choose from, * so no MinMax is needed. */ }
private void EvaluateScenarioOfDodgingBullets(GameState currGameState, GameSituation gameSituation) { Scenario scenario = new ScenarioToDodgeABullet(currGameState, gameSituation, YourPlayerIndex); ScenarioEvaluator.EvaluateScenarioAndChooseMoves(scenario, YourPlayerIndex); }