static void Main(string[] args)
    {
        string console = "";
        string input;

        //Read from console
        while ((input = Console.ReadLine()) != null)
        {
            console += input;
        }

        //Parse console input
        List <JToken> jTokenList = ParsingHelper.ParseJson(console);

        List <JToken> finalList = new List <JToken>();

        AIPlayerWrapper aiPlayer = new AIPlayerWrapper();
        JToken          toAdd;

        foreach (JToken jtoken in jTokenList)
        {
            toAdd = aiPlayer.JsonCommand(jtoken, "no name", "less dumb");
            if (toAdd.Type != JTokenType.Null)
            {
                finalList.Add(toAdd);
            }
        }

        Console.WriteLine(JsonConvert.SerializeObject(finalList));

        Console.ReadLine();
    }
        //Parse json from a file and run it through BoardWrapper
        //Returns output of BoardWrapper.JsonCommand
        private string TestJson(string filePath, string AIType)
        {
            string json = ExtractJson(filePath);

            //Parse console input
            List <JToken> jTokenList = ParsingHelper.ParseJson(json);
            List <JToken> finalList  = new List <JToken>();

            AIPlayerWrapper aiPlayer = new AIPlayerWrapper();
            JToken          toAdd;

            foreach (JToken jtoken in jTokenList)
            {
                toAdd = aiPlayer.JsonCommand(jtoken, "no name", AIType);
                if (toAdd.Type != JTokenType.Null)
                {
                    finalList.Add(toAdd);
                }
            }

            return(JsonConvert.SerializeObject(finalList));
        }