static void Main(string[] args) { //There's no need to ask for the initial data when it already exists if (File.Exists("serialized.bin")) { tree = new BTTree(); } else { startNewGame(); } //ReturnInorder(tree.rootNode); //ReturnPreOrder(tree.rootNode); //ReturnPostorder(tree.rootNode); BTNode.NodeValue(tree.rootNode); Console.WriteLine(); BTNode.MinMax(tree.rootNode); Console.WriteLine("\nStarting the \"20 Binary Questions\" Game!\nThink of an object, person or animal."); tree.query(); //play one game while (playAgain()) { Console.WriteLine("\nThink of an object, person or animal."); Console.WriteLine(); tree.query(); //play one game } }