InitialiseField - AS 2017

From TRCCompSci - AQA Computer Science
Jump to: navigation, search

The Code

static void InitialiseField(char[,] Field)
{
    string Response = "";
    Console.Write("Do you want to load a file with seed positions? (Y/N): ");
    Response = Console.ReadLine();
    if (Response == "Y")
    {
        ReadFile(Field);
    }
    else
    {
        CreateNewField(Field);
    }
}

Explanation