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 EvaluateScenarioOfApplyingLockDownActions(GameState currGameState, GameSituation gameSituation) { Scenario scenario = new ScenarioToApplyLockDownActions(currGameState, gameSituation); 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 EvaluateScenarioToAttackLockedDownEnemyTank(GameState currGameState, GameSituation gameSituation) { Scenario attackLockedDownEnemyTankScenario = new ScenarioToAttackLockedDownEnemyTank(currGameState, gameSituation, YourPlayerIndex); ScenarioEvaluator.EvaluateScenarioAndChooseMoves(attackLockedDownEnemyTankScenario, YourPlayerIndex); }
private void EvaluateLockDownScenario(GameState currGameState, GameSituation gameSituation) { Scenario lockDownScenario = new LockDownEnemyTankForOtherTankToDestroyScenario(currGameState, gameSituation); ScenarioEvaluator.EvaluateScenarioAndChooseMoves(lockDownScenario, YourPlayerIndex); }
private void EvaluateRunAtBaseScenario(GameState currGameState, GameSituation gameSituation) { Scenario runAtBaseScenario = new ClearRunAtBaseScenario(currGameState, gameSituation); ScenarioEvaluator.EvaluateScenarioAndChooseMoves(runAtBaseScenario, YourPlayerIndex); }
private void EvaluateScenarioOfDodgingBullets(GameState currGameState, GameSituation gameSituation) { Scenario scenario = new ScenarioToDodgeABullet(currGameState, gameSituation, YourPlayerIndex); ScenarioEvaluator.EvaluateScenarioAndChooseMoves(scenario, YourPlayerIndex); }
private void EvaluateScenarioOfAttackingAnEnemyTank(GameState currGameState, GameSituation gameSituation) { Scenario scenario = new ScenarioOfAttackingAnEnemyTank(currGameState, gameSituation, YourPlayerIndex); ScenarioEvaluator.EvaluateScenario(scenario); }