@Override
	public void processGameEvent(GameEvent e) {

                if(e instanceof TimerEvent)
                        return;
		if(e instanceof InternalGameEvent)
			return;
		if(e instanceof GameStartEvent)
			synchronized(this) { notify(); }
		else if(e instanceof GameEndEvent) {
			out.println(e.getUpdateString());
			out.flush();
			disconnect();
                }  else if (e instanceof BeginTurnEvent) {
			if(((BeginTurnEvent) e).getPlayer().equals(this)) {
				out.println(e.getUpdateString());
				out.flush();
			}
		}
		else if(e instanceof ScoreEvent) {
			if(((ScoreEvent)e).getPlayer().equals(this))
				player.setScore(player.getScore() + ((ScoreEvent)e).getScore());
			out.println(e.getUpdateString());
		}
		else if (e instanceof GameEvent) {
			out.println(e.getUpdateString());
			out.flush();
		}
	}