public boolean r_play( int i, int j, int val ){
        int nval = -val;
        int j1=j+1;
        while( j1<values[0].length && values[i][j1] == nval ){
            j1++;
        }
        if( j1<values[0].length && j+1 < j1 && values[i][j1] == val ){
            // Valid play
            for( int k=j+1; k<j1; k++ ){
                values[i][k] = val;
            }
            return true;
        }
        return false;        
    }