Exemplo n.º 1
0
        static void Main(string[] args)
        {
            NoteGraph test = new NoteGraph();

            Random gen = new Random();

            string user_input = "";

            while (true)
            {
                if (user_input == "-1")
                    break;

                List<NoteNode> sequence = test.GetNoteSequenceAsList(gen);

                PrintSequence(sequence);

                Console.WriteLine("Rate this sequence on a 0-10 scale from bad to good\nEnter -1 to quit");

                test.RateSequence(sequence, Int32.Parse(Console.ReadLine()));
            }
        }