private void gameSetup() {
        playerGrid = new BattleFieldGrid(game, true);
        JButton buttonApplyShips = new JButton("Apply ship settings");
        buttonApplyShips.addActionListener(
                new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                JButton buttonApplyShips = (JButton) e.getSource();
                buttonApplyShips.setVisible(false);

                // to do check if all ships are placed
                // player is ready
                game.sendReadyRequest();

            }
        });

        JButton btnResetShips = new JButton("Reset");
        btnResetShips.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                resetShips(e);
            }
        });

        cmbAvailableShips = new JComboBox();
        this.game.setShipToPlace(new Ship(eShipType.aircraftcarrier));
        cmbAvailableShips.addItem(new Ship(eShipType.aircraftcarrier));
        cmbAvailableShips.addItem(new Ship(eShipType.battleship));
        cmbAvailableShips.addItem(new Ship(eShipType.destroyer));
        cmbAvailableShips.addItem(new Ship(eShipType.patrolboat));
        cmbAvailableShips.addItem(new Ship(eShipType.submarine));

        cmbAvailableShips.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                cmbAvailableShips_SelectedChanged(e);
            }
        });
        leftPanel.add(cmbAvailableShips);

        rdbHorizontal = new JRadioButton();
        rdbHorizontal.setText("Horizontal");
        rdbHorizontal.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                rdbHorizontal_checkedChanged(e);
            }
        });

        rdbVertical = new JRadioButton();
        rdbVertical.setText("Vertical");
        rdbVertical.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                rdbVertical_checkedChanged(e);
            }
        });
        rdbVertical.setSelected(true);

        btnGroupOrientation = new ButtonGroup();
        btnGroupOrientation.add(rdbHorizontal);
        btnGroupOrientation.add(rdbVertical);

        leftPanel.add(rdbHorizontal);
        leftPanel.add(rdbVertical);
        JButton buttonChat = new JButton("Send");
        buttonChat.addActionListener(
                new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                game.sendChatMessage(chatInput.getText());
                chatInput.setText("");
            }
        });
        chatOutput = new List();
        chatInput = new JTextField();
        chatInput.addKeyListener(new KeyAdapter() {
            @Override
            public void keyPressed(KeyEvent evt) {
                int key = evt.getKeyCode();
                if (key == KeyEvent.VK_ENTER) {
                    game.sendChatMessage(chatInput.getText());
                    chatInput.setText("");
                }
            }
        });
        oponentGrid = new BattleFieldGrid(game, false);
        centerPanel.add(playerGrid);
        centerPanel.add(oponentGrid);
        //left
        JPanel bottomLeft = new JPanel();
        bottomLeft.setLayout(new BoxLayout(bottomLeft, BoxLayout.Y_AXIS));

        bottomLeft.add(buttonApplyShips);
        bottomLeft.add(btnResetShips);

        JPanel bottomCenter = new JPanel();
        bottomCenter.setLayout(new BoxLayout(bottomCenter, BoxLayout.Y_AXIS));
        bottomCenter.add(chatOutput);
        bottomCenter.add(chatInput);

        JPanel bottomRigth = new JPanel();
        bottomRigth.setLayout(new BoxLayout(bottomRigth, BoxLayout.Y_AXIS));
        bottomRigth.add(buttonChat);

        bottomPanel.add(bottomLeft, BorderLayout.WEST);
        bottomPanel.add(bottomCenter, BorderLayout.CENTER);
        bottomPanel.add(bottomRigth, BorderLayout.EAST);


    }