private void move() {
        Player player = this.getCurrentPlayer();
        if (player.getMovePogression() == 1) {
            int up_target = player.getIndex() - this.board.getCols();
            int down_target = player.getIndex() + this.board.getCols();
            int left_target = player.getIndex() + 1;
            int right_target = player.getIndex() - 1;
            if (this.last_pressed_key == KeyEvent.VK_UP && this.board.isSquareWalkable(up_target)) {
                player.startMove(up_target, true);
            } else if (this.last_pressed_key == KeyEvent.VK_DOWN && this.board.isSquareWalkable(down_target)) {
                player.startMove(down_target, true);
            } else if (this.last_pressed_key == KeyEvent.VK_LEFT && this.board.isSquareWalkable(left_target)) {
                player.startMove(left_target, true);
            } else if (this.last_pressed_key == KeyEvent.VK_RIGHT && this.board.isSquareWalkable(right_target)) {
                player.startMove(right_target, true);
            }
        }
    }