(Number)
the total number of times to race,
100
are processed
each time and
update
invoked until the
total
is reached
Number
:
the uid generated to identify this background job,
the same uid will be included in the message the result to identify it with the job
Stops any races in progress.
Creates a background worker which uses a web worker under the hood to process race requests.
(funcion)
will be called with updates:
{ win, loose, tie, iterations, uid }
BackgroundWorker
:
backgroundWorker
Same as @see raceCombosForBoard, except that the combo cards are given
as their codes obtained via phe cardCodes
.
(any)
(any)
(any)
(any)
Same as @see raceCombos, except that the combo cards are given
as their codes obtained via phe cardCodes
.
(any)
(any)
(any)
Same as @see raceRangeForBoard, except that the combo, range cards and board are given
as their codes obtained via phe cardCodes
.
(any)
(any)
(any)
(any)
(any)
Same as @see raceRange, except that the combo and range cards are given
as their codes obtained via phe cardCodes
.
(any)
(any)
(any)
(any)
Races two combos against each other.
(Number?
= null
)
the number of times to race, if not supplied combos are races against all possible boards
any
:
count of how many times combo1 wins, looses or ties, i.e.
{ win, loose, tie }
Races two combos against each other.
(Number?
= null
)
the number of times to race, if not supplied combos are races against all possible boards
any
:
count of how many times combo1 wins, looses or ties, i.e.
{ win, loose, tie }
Race the given combo vs. the given combo to count number of wins, losses and ties. The boards created for the race will include all cards of the given board.
(Number?
= null
)
the number of times to race, if not supplied combos are races against all possible boards
any
:
count of how many times the combo wins, looses or ties, i.e.
{ win, loose, tie }
Race the given combo vs. the given combo to count number of wins, losses and ties.
(Number?
= null
)
the number of times to race, if not supplied combos are races against all possible boards
any
:
count of how many times the combo wins, looses or ties, i.e.
{ win, loose, tie }
Given win, loose and tie count it converts those to winning rates in percent.
Object
:
win rates `{ winRate, looseRate, tieRate, combos? }