public void run(){
		while(true){
			try{
				Thread.sleep(50);
				String msg = myBR.readLine();
				if(msg.equals("Ready")){
					GUI.g.startItems();
					GUI.g.setUpPlayer();
					GUI.g.player.name=GUI.g.playerName;
					GUI.g.player.start();
					GUI.g.cardLayout.show(GUI.g.allPanels, "Game");
					GUI.g.game.repaint();
					myG.sendName();
					continue;
				}
				if(msg.contains("82053")){
					myG.updateScores(msg);
					continue;
				}
				if(msg.contains("10375")){
					myG.updateLives(msg);
					continue;
				}
				if(msg.startsWith("1") || msg.startsWith("2") || msg.startsWith("3") || msg.startsWith("4")){
					myG.setUpNames(msg);
					continue;
				}
				myG.sendMessage(msg);
				
			} catch(Exception e){
				e.printStackTrace();
			}
		}
	}