private void removeThisMatche(){
        GameSession.User user = session.getCurrentUser();
        String color = user.getColor();
        Map basketCoordinates = GameConfig.basketCoordinates.get(color);
        Integer boxX = (Integer) basketCoordinates.get("x");
        Integer boxY = (Integer) basketCoordinates.get("y");
        Integer basketWith = (Integer) basketCoordinates.get("xSize");

        if(((color.equals("white") && getLocation().getX() > boxX)|| (color.equals("black") && getLocation().getX() < (boxX + basketWith))) && getLocation().getY() > boxY){
            active = false;
            removeDragListeners();
            if(session.isMatche(this.getId())){
                session.remooveMatche(id);
                user.updateCount();
            }
            CountDisplay counter = user.getCounter();
            counter.setCount(user.getType(), user.getCount());
            counter.repaint();
        }
        if(session.getAviableMatches()<=0){
            ShowTablo tablo = session.getShowTablo();
            tablo.setWinners();
            ChangeUserButton button = session.getButton();
            button.setText("игра окончена");
            button.setInactive();
            button.repaint();
            tablo.repaint();
        }
    }