//import javax.swing.JFrame;

import InterfaceParts.TTTPlayerInterface;
import InterfaceParts.TTTPlayerProxy;
//import InternalStructure.TTT_GUI;
import cip.InterfacePort;

public class TTTPlayer {

	public static void main(String[] args) {
		TTTPlayerInterface playerInterface = new TTTPlayerInterface("playerInterface");
		playerInterface.initialize();
		TTTPlayerProxy proxy  = new TTTPlayerProxy("proxy");
		proxy.initialize();
		InterfacePort portProxy = proxy.getPort("player");
		InterfacePort portPlayerInterface = playerInterface.getPort("port");
		proxy.connect(portPlayerInterface, "player");
		playerInterface.connect(portProxy, "port");
	}

}
