/// <summary> /// Initializes a new <see cref="TicTacToeEnvironment"/> instance. /// </summary> public TicTacToeEnvironment() { Name = "Tic Tac Toe"; Description = "A classic Tic Tac Toe where two bots can play."; UIInformation = new EnvironmentUIInformation(TicTacToeEnvironmentResource.Avatar); MinBotsNumber = 2; MaxBotsNumber = 2; MaxUpdateCycles = 5; UpdateTimeout = 500; }
/// <summary> /// Initializes a new <see cref="MazeEnvironment"/> instance. /// </summary> public MazeEnvironment() { Name = "Maze"; Description = "A maze where bot must find the target."; UIInformation = new EnvironmentUIInformation(MazeEnvironmentResource.Avatar); MinBotsNumber = 1; MaxBotsNumber = 1; MaxUpdateCycles = 10000; UpdateTimeout = 1000000; HorizontalCells = 40; VerticalCells = 40; }
public PongEnvironment() { Name = "Pong"; Description = "A challenge on classic Pong."; UIInformation = new EnvironmentUIInformation(PongEnvironmentResource.Avatar); MinBotsNumber = 2; MaxBotsNumber = 2; UpdateTimeout = 10000000; MaxUpdateCycles = 10000; TableSize = new Size(500, 400); Ball = new Ball(0, 0, PaddleWidth, PaddleWidth); }
public SortingEnvironment() { Name = "Sorting"; Description = "Learning space for sorting algorithms"; var names = GetType().Assembly.GetManifestResourceNames(); var image = Image.FromStream(GetType().Assembly.GetManifestResourceStream(names[0])); UIInformation = new EnvironmentUIInformation(image); MinBotsNumber = 1; MaxBotsNumber = 1; UpdateTimeout = 10000; MaxUpdateCycles = 1000; MinItemsSize = 10; MaxItemsSize = 50; }