Skip to contents

Diagrams

Function for drawing diagrams

ggboard()
Create diagram from eXtreme Gammon id

Calculations

Calculate familiar metrics like takepoint, equivalent-to-moneygame, etc.

emg()
Scale match winning chances to money game
get_met()
Get match equity table
gwc2mwc()
Calculate match winning chance from game winning chances
mwc()
Match winning chances at score
tp()
Simple take point calculation
tp_gammons()
Take point calculation including gammons
tp_xg()
Take points according to eXtreme Gammon
tp_info()
Take points in different flavors
dp_gammons()
Double point calculation including gammons
gammon_value()
Gammon value
tp_money()
Take points, money game
eq_money()
Equity, money game
outcome_probs()
Outcome probabilities
probs_table()
Probability table
tp_table()
Compare take points

Data set

Data set with all moves from my matches on Backgammon Galaxy

bgmoves
Moves from backgammon matches

Parsing

Functions to parse *.txt files with GNU Backgammon analysis to data frame format, and to convert from GNU Backgammon position/match id to eXtreme Backgammon xgid.

txt2df()
Convert analysis files to data frame
gnuid2xgid()
From GNU BG ids to XGIDs
xgid2vec()
Checker locations as integer vector

Constants

Constants used for diagram design.

board_ratio
The height/width ratio of diagrams
checker_radius
The radius of checkers
gnu_chars
Characters used in position and match ids
color_schemes
Color schemes