Skip to contents

Set type for standard attack codes

Usage

dv_attack_code2set_type(code)

Arguments

code

character: vector of attack codes ("X5", "VP", etc)

Value

A named vector of sides ("F", "B", "C", "P", "S", "-")

Examples

dv_attack_code2set_type(code = c("X5", "X7", "PP"))
#>  X5  X7  PP 
#> "F" "C" "S"