public void runGameDataServer()
	{
		try {
			gameDataServerSocket = new ServerSocket(gameDataSocketNumber);
			while(true)
			{
				System.out.println("Game data server");
				gameDataSocket = gameDataServerSocket.accept();
				gameInput = new ObjectInputStream(gameDataSocket.getInputStream());
				ClientMessage c = (ClientMessage) gameInput.readObject();
				System.out.println("Got game data message with command" + c.getCommand());
				if(c.getCommand().equals("MOVE"))
				{
					m.setIsTurn();
					m.setOpBoardMove(c.getRow(), c.getColumn(),c.getPiece());
					v.setPieceIcon(c.getRow(), c.getColumn(), c.getPiece());
					int win = m.haveWinCondition();
					if(win == -1)
					{
						m.endGame();
						v.setLoseMessage();	
					}else if(win == 1)
					{
						m.endGame();
						v.setWinMessage();
					}else if(win == -2)
					{
						m.endGame();
						v.setTieMessage();
					}
				}
			}
			
		} catch (IOException e) {
			e.printStackTrace();
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		}
	}