@Override
	public void actionPerformed(ActionEvent e) {
		if(connector.isServer()){
			try {
				playerTurn = true;
				player.serverTurn(true);
			} catch (RemoteException e1) {
				// TODO Auto-generated catch block
				e1.printStackTrace();
			}
		}
		else{
			try {
				playerTurn = false;
				player.serverTurn(false);
			} catch (RemoteException e1) {
				// TODO Auto-generated catch block
				e1.printStackTrace();
			}
		}
		boardModel.cleanBoard(BOARD_SIZE);
		this.gameIsWon = false;
		try {
			player.setGameIsWon(false);
			player.resetGame(BOARD_SIZE);
		} catch (RemoteException e1) {
			// TODO Auto-generated catch block
			e1.printStackTrace();
		}
		setStatusMessage("");
		this.repaint();
	}