duel.js
function (progressFn, m) {
  var idx = m.p.indexOf(WO);
  if (idx >= 0) {
    // set scores manually to avoid the `_verify` walkover scoring restriction
    m.m = (idx === 0) ? [0, 1] : [1, 0];
    progressFn(m);
  }
}
function (progressFn, m) {
  var idx = m.p.indexOf(WO);
  if (idx >= 0) {
    // set scores manually to avoid the `_verify` walkover scoring restriction
    m.m = (idx === 0) ? [0, 1] : [1, 0];
    progressFn(m);
  }
}
function ( progressFn , m ) { var idx = m . p . indexOf ( WO ) ; if ( idx >= 0 ) { // set scores manually to avoid the `_verify` walkover scoring restriction m . m = ( idx === 0 ) ? [ 0 , 1 ] : [ 1 , 0 ] ; progressFn ( m ) ; } }
helper to initially score matches with walkovers correctly
helper to initially score matches with walkovers correctly