static void Main(string[] args)
{
while (true)
{
Console.WriteLine("Please enter your parrot kind or 'q' to quit:");
string user = Console.ReadLine();
if (user.Length > 1)
{
Random random = new Random();
string[] parrots = { "Parrot", "Ara", "Sun conure", "Lovebird", "Cockatoo", "Macaws", "Lorikeets", "Scarlet Macaw", "Kākāpō", "Parakeets", "Senegal parrot", "Caiques", "Amazon parrot", "Parrotlet", "Burrowing parrot", "Cockatiel", "African Grey", "Eclectus", "Pionus parrot", "Budgerigar", "African Greys", user };
string[] colors = { "Blue", "Red", "Green" };
Bird[] birds = new Bird[parrots.Length];
for (int i = 0; i < parrots.Length; i++)
{
int num = random.Next(1000, 20000);
int start = random.Next(0, colors.Length);
birds[i] = new Bird(parrots[i], colors[start], num);
Console.WriteLine(birds[i]);
Console.WriteLine(birds[i].name);
Console.WriteLine(birds[i].color);
Console.WriteLine(birds[i].amount);
Console.WriteLine();
}
for (int i = 0; i < 2; i++)
{
Console.WriteLine("do you want to fly or walk");
string move = Console.ReadLine().ToLower();
if (move == "fly")
{
string userParrot = parrots[parrots.Length - 1];
}
else if (move == "walk")
{
string userParrot = parrots[parrots.Length - 1];
}
}
}
else if (user == "q")
{
break;
}
}
}