@Override
    public void keyReleased(KeyEvent ke) {
        switch (ke.getKeyChar()) {
            case 'w': case KeyEvent.VK_UP:
                keysDown.put(KeyEvent.VK_UP, false);
                break;
            case 's': case KeyEvent.VK_DOWN:
                keysDown.put(KeyEvent.VK_DOWN, false);
                break;
            case 'd': case KeyEvent.VK_RIGHT:
                keysDown.put(KeyEvent.VK_RIGHT, false);
                break;
            case 'a': case KeyEvent.VK_LEFT:
                keysDown.put(KeyEvent.VK_LEFT, false);
                break;
            default: break;
        }
        commandBuilder();
        executeCommand(cmd);
    }