public static void PlayManual(int problemnum, int seed, string[] powerPhrases, int delay) { var problem = ProblemsSet.GetProblem(problemnum); var game = new ConsoleGame(problem, problem.sourceSeeds[seed], powerPhrases); var emulator = new Emulator(game, delay); emulator.Run(); }
public string Solve(Problem problem, int seed, string[] magicSpells) { var game = new ConsoleGame(problem, seed, magicSpells); var emulator = new Emulator(game, -1); emulator.Run(); var solution = game.Solution; return solution; }