ban_nash: Optimal bans calculator

View source: R/ban_nash.R

ban_nashR Documentation

Optimal bans calculator

Description

Finds Nash equilibrium in mixed strategies and expected winrate for both players in a ban phase of a match (Conquest, Conquest where you have to win with all but one deck, LHS)

Usage

ban_nash(W, bans, match_format = c("conquest", "LHS"))

Arguments

W

Winrate matrix (from the perspective of the Hero)

bans

number of bans

match_format

Type of match

Value

A list with following components

bans

decks banned BY Hero and Opponent

winrate

Hero and Opponent's winrate

stratlist

Hero's and Opponent's ban options

conqs

list of match_format output for each ban combination - first layer is hero's options, second is opponent's

Examples

ban_nash(W = matrix(runif(16), 4, 4), bans = 1, match_format = "conquest")

naturewillconfess/hearthstone documentation built on June 17, 2024, 1:41 p.m.