private void autoPlay(int index) {
        Hand current = this.hands[index];
        Hand dealer = this.hands[dealerIndex];

        // When dealer shown card is high
        if (dealer.getValue(true) >= HIGH) {
            if (current.getValue() >= (HIGH * 2)) {
                current.state = STATE.STAND;
            } else {
                current.state = hit(index);
            }
        } // When dealer card is mid
        else if (dealer.getValue(true) >= MID) {
            if (current.getValue() >= MID * 3) {
                current.state = STATE.STAND;
            } else {
                current.state = hit(index);
            }
        } // When dealer card is low
        else {
            if (current.getValue() > HIGH + MID) {
                current.state = STATE.STAND;
            } else {
                current.state = hit(index);
            }
        }
    }