@Override
    protected void setKeyBindings() {
        super.setKeyBindings();

        im.put(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), KeyEvent.VK_ENTER);
        im.put(KeyStroke.getKeyStroke(KeyEvent.VK_SPACE, 0), KeyEvent.VK_SPACE);
        im.put(KeyStroke.getKeyStroke(KeyEvent.VK_D, 0), KeyEvent.VK_D);

        am.put(KeyEvent.VK_ENTER, new AbstractAction() {

            @Override
            public void actionPerformed(ActionEvent ae) {
                if (gamePaused) {
                    backToMenu();
                }
                if (hasSomebodyWon()) {
                    exportFinalScore();
                    reset();
                    showFinalScore();
                }
            }
        });

        am.put(KeyEvent.VK_SPACE, new AbstractAction() {

            @Override
            public void actionPerformed(ActionEvent ae) {
                if (!gamePaused && !hasSomebodyWon()) {
                    startGame();
                }
            }
        });
        
        am.put(KeyEvent.VK_D, new AbstractAction() {

            @Override
            public void actionPerformed(ActionEvent ae) {
                player1.sacrificeT();
                
            }
        });
    }