Exemple #1
0
        private void botModifyToolStripMenuItem_Click(object sender, EventArgs e)
        {
            computerScript.Mutate();

            codeInput.Text = "";
            foreach (String line in computerScript.getLines())
            {
                codeInput.Text += line + Environment.NewLine;
            }
        }
Exemple #2
0
        private void botGenerateToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Dictionary <String, object> inputs = ParseInputs(variableInput.Text);

            computerScript = new BotScript(inputs.Keys, inputs.Keys, OPERATORS, 20);

            codeInput.Text = "";
            foreach (String line in computerScript.getLines())
            {
                codeInput.Text += line + Environment.NewLine;
            }
        }