public static Engine GetDefaultDeathmatchEngine(IEnumerable <IFighterStats> fighters) { var battlefield = new PlainBattlefield(); var bounds = new Tiny(); var features = new List <IEngineFeature>() { new FeatureApplyCondition(), new FeatureReviveDeadFighters(), }; var moveOrder = new AllRandomMoveOrder(); var positionGenerator = new AllRandomPositionGenerator(); var winCondition = new FiftyRoundsWinCondition(); var staleCondition = new NoneStaleCondition(); return(GetEngine(fighters, battlefield, bounds, features, moveOrder, positionGenerator, winCondition, staleCondition, 2)); }
public static Engine GetDefaultEngine(IEnumerable <IFighterStats> fighters) { var battlefield = new PlainBattlefield(); var bounds = new Tiny(); var features = new List <IEngineFeature>() { new FeatureApplyCondition(), new FeatureSacrificeToEntity(), }; var moveOrder = new AllRandomMoveOrder(); var positionGenerator = new AllRandomPositionGenerator(); var winCondition = new LastManStandingWinCondition(); var staleCondition = new NoWinnerCanBeDeterminedStaleCondition(); return(GetEngine(fighters, battlefield, bounds, features, moveOrder, positionGenerator, winCondition, staleCondition, 2)); }