public void Start(){
	Action("CreatePlace(Bedroom, CastleBedroom)");
	Action("CreateCharacter(Jane, F, 25)");
	Action("SetHairStyle(Jane, Long)");
	Action("EnableIcon(Change, Hand, Bedroom.Closet, Change, true)");
	Action("SetPosition(Jane, Bedroom.Closet)");
	Action("SetCameraFocus(Jane)");
	Console.WriteLine("start Game");
	WaitFor("input Selected Start");
	Action("EnableInput()");
	WaitFor("input Change Bedroom.Closet");
	Action("FadeOut()");
	Action("ChangeClothing(Jane, Peasant)");
	Action("FadeIn()");
	WaitFor("input Change Bedroom.Closet");
	Action("FadeOut()");
	Action("ChangeClothing(Jane, Merchant)");
	Action("FadeIn()");
	WaitFor("input Change Bedroom.Closet");
	Action("FadeOut()");
	Action("ChangeClothing(Jane, Noble)");
	Action("FadeIn()");
}

public void WaitFor(string msg)
{
	while (true)
	{
		var input = Console.ReadLine();
		if (input == msg)
			break;
	}
}

public void Action(string msg)
{
	Console.WriteLine("start " + msg);
	while (true)
	{
		var input = Console.ReadLine();
		if (input == "succeeded " + msg)
			break;
	}
}
		


public void Start(){
	Action("CreatePlace(Port, Port)");
	Action("CreatePlace(Cottage, Cottage)");
	Action("CreateCharacter(Jane, F)");
	Action("SetHairStyle(Jane, Long)");
	Action("ChangeClothing(Jane, Peasant)");
	Action("EnableIcon(Open, Hand, Cottage.Door, 'Go to the port', true)");
	Action("SetPosition(Jane, Cottage)");
	Action("SetCameraFocus(Jane)");
	Console.WriteLine("start Game");
	WaitFor("input Selected Start");
	Action("EnableInput()");
	WaitFor("input Open Cottage.Door");
	Action("Exit(Jane, Cottage.Door, true)");
	Action("Enter(Jane, Port.Exit, true)");
	WaitFor("input arrived Jane position Port.Exit");
	Action("Exit(Jane, Port.Exit, true)");
	Action("Enter(Jane, Cottage.Door, true)");
}

public void WaitFor(string msg)
{
	while (true)
	{
		var input = Console.ReadLine();
		if (input == msg)
			break;
	}
}

public void Action(string msg)
{
	Console.WriteLine("start " + msg);
	while (true)
	{
		var input = Console.ReadLine();
		if (input == "succeeded " + msg)
			break;
	}
}
		


public void Start(){
	Action("CreatePlace(Courtyard, Courtyard)");
	Action("CreateItem(Potion, Potion)");
	Action("CreateCharacter(Tom, M, 25)");
	Action("SetHairStyle(Tom, Long)");
	Action("ChangeClothing(Tom, Beggar)");
	Action("CreateCharacter(Merchant, F, 70)");
	Action("ChangeClothing(Merchant, Priest)");
	Action("EnableIcon(Trade, Hand, Merchant, Trade, true)");
	Action("SetPosition(Merchant, Courtyard.Stall)");
	Action("SetPosition(Tom, Courtyard.Fountain)");
	Action("SetCameraFocus(Tom)");
	Console.WriteLine("start Game");
	WaitFor("input Selected Start");
	Action("EnableInput()");
	WaitFor("input Trade Merchant");
	Action("WalkTo(Tom, Merchant)");
	Action("ClearList()");
	Action("AddToList(Potion, 'Healing Potion')");
	Action("EnableIcon(Buy, Hand, Potion, 'Buy the potion', true)");
	Action("SetDialog('Did you need something? [Yes|Let me see what you have]')");
	Action("SetLeft(Tom)");
	Action("SetRight(Merchant)");
	Action("ShowDialog()");
	WaitFor("input Selected Yes");
	Action("HideDialog()");
	Action("ShowList(Merchant)");
	WaitFor("input Buy Potion");
	Action("HideList()");
	Action("Give(Merchant, Potion, Tom)");
	Action("Pocket(Tom, Potion)");
}

public void WaitFor(string msg)
{
	while (true)
	{
		var input = Console.ReadLine();
		if (input == msg)
			break;
	}
}

public void Action(string msg)
{
	Console.WriteLine("start " + msg);
	while (true)
	{
		var input = Console.ReadLine();
		if (input == "succeeded " + msg)
			break;
	}
}