LHS_nash: LHS Nash calculator

View source: R/LHS_nash.R

LHS_nashR Documentation

LHS Nash calculator

Description

Finds Nash equilibrium in mixed strategies and expected winrate for both players in an LHS match

Usage

LHS_nash(W)

Arguments

W

Winrate matrix (from the perspective of the Hero)

Value

A list of possible state of the game with following parameters (if applicable)

score

eliminated decks

havetoplay_hero

What deck does the hero have to play?

havetoplay_opp

What deck does the opponent have to play?

winrate

Players' winrate

nash

Nash equilibrium in mixed strategies

game

payoff matrix for this subgame

Examples

LHS_nash(W = matrix(runif(9), 3, 3))

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