risk

package module
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2018 License: GPL-3.0 Imports: 5 Imported by: 0

README

GoDoc Build Status Coverage Status Go Report Card

Risk

Documentation

Index

Constants

View Source
const Delim = ","

Variables

This section is empty.

Functions

func Combat

func Combat(atk, def string, mod ...string) int

Combat determines the winner of a dice clash.

func Compare

func Compare(atk, def int, mods ...string) (win, tie, loss float64)

Compare enumerates the results of a combat.

TODO: Rename

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL