Exemple #1
0
        public Form1()
        {
            InitializeComponent();
            DoubleBuffered = true;

            controll = new Controll(this);

            //set WindowSize
            this.Size = new Size(CanvasSize + 16, CanvasSize + 39);
        }
Exemple #2
0
        public AI(Controll controller, int TileAmount)
        {
            for (int i = 0; i < path.Length; i++)
            {
                path[i] = ".\\Dataset" + i.ToString() + ".txt";
            }

            this.controller = controller;
            this.TileAmount = TileAmount;
            student         = new Network();
            winner          = new Network();
        }