This small project binds C code to Golang to calculate elo related operations.

Available operations:

  • Probability of winning is calculated by the following logistic function:

  • Elo differential calculation is made using the current player score, the probability of wining against a player B, growth factor (a value that determine how easily our population will growth):

Added benchmarks to check the performance between C and Go in this arithmetic operations. You can run them by executing:

BIN_NAME=elo make benchmark

GitHub

View Github