public void service() {
		Table table = Table.getTableInstance();
		
		while(true) {
			Socket socket = null;
			try {
				socket = serverSocket.accept();
				System.out.println("New player accepted-->" + socket.getInetAddress()+":"+socket.getPort());
				table.addPlayer(new Player(table.inChip, socket));
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
			//table full

			int seatNumber = table.seatNumber;
			int playerNumber = table.getPlayerNumber();
			if(seatNumber == playerNumber){
				break;
			}
		}
		
		table.startGame();	
		try {
			serverSocket.close();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}