public final JMenuBar getMenu() {

        JMenuBar menubar = new JMenuBar();
        ImageIcon icon = new ImageIcon(getClass().getResource("../exit.png"));

        JMenu file = new JMenu("Игра");
        file.setMnemonic(KeyEvent.VK_F);

        JMenuItem select1 = new JMenuItem("Человек - человек");
        select1.setMnemonic(KeyEvent.VK_S);
        select1.setToolTipText("human to human strategy select");
        select1.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent event) {
                try {
                    lp.resetGameFrame("userToUser");
                } catch (Exception e) {
                    e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
                }
            }
        });

        JMenuItem select2 = new JMenuItem("Человек - робот");
        select2.setMnemonic(KeyEvent.VK_S);
        select2.setToolTipText("human to robot strategy select");
        select2.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent event) {
                try {
                    lp.resetGameFrame("userToRobot");
                } catch (Exception e) {
                    e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
                }
            }
        });

        JMenuItem select3 = new JMenuItem("Робот - робот");
        select3.setMnemonic(KeyEvent.VK_S);
        select3.setToolTipText("robot to robot strategy select");
        select3.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent event) {
                try {
                    lp.resetGameFrame("robotToRobot");
                } catch (Exception e) {
                    e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
                }
            }
        });

        JMenuItem help = new JMenuItem("Помощь");
        help.setMnemonic(KeyEvent.VK_S);
        help.setToolTipText("правила, подсказки и т.д.");
        help.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent event) {
                System.out.println("test help button\n");
                try {
                    GameSession session = GameSession.getInstance();
                    NavigableMap<Integer, DrawMatche> matches = session.getAllMatches();
                    for(int i = 1; i<=matches.size(); i++){
                        matches.get(i).setVisible(false);
                        matches.get(i).repaint();
                    }

                    session.getButton().setVisible(false);
                    session.getButton().repaint();

                    HelpMessage helpMessage = session.getHelpMessage();
                    helpMessage.setVisible(true);
                    helpMessage.repaint();
                } catch (Exception e) {
                    e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
                }
            }
        });

        JMenuItem eMenuItem = new JMenuItem("выход");
        eMenuItem.setMnemonic(KeyEvent.VK_E);
        eMenuItem.setToolTipText("Exit application");
        eMenuItem.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent event) {
                System.exit(0);
            }
        });

        file.add(select1);
        file.add(select2);
        file.add(select3);
        file.add(help);
        file.add(eMenuItem);
        menubar.add(file);

        return menubar;
    }