public void run(){
        try{            
                        
            while(true){
                
                String command = in.readLine();
                
                if(command.equals("exit")){
                    break;
                }
                //System.out.println(socket);
                Game.Command(command, client);
                //out.println(command + "\n");
            }
            System.out.println("Closing...................");
        }catch(Exception e){
            System.err.println("IO Exception................" + e.getMessage());
        }finally{
            try
            {
                Game.removeClient(client);
                this.socket.close();
            }
            catch (IOException e)
            {
                System.err.println("Socket not closed.............");
            }
        }
    }