public static void main(String[] args) {
        ActorSystem mySystem = ActorSystem.create("rpgClient");
        ActorRef tcpClient = mySystem.actorOf(Props.create(TcpClient.class));
        tcpClient.tell(new InetSocketAddress("localhost", 12345), ActorRef.noSender());
        
        Console console = System.console();
        if (console != null) {
            while (true) {
                Object msg = parseCmd(console);
                if (msg != null) {
                    tcpClient.tell(msg, ActorRef.noSender());
                }
            }
        }
    }