1.0.5 • Published 7 years ago

match-result-prediction v1.0.5

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

Match Result Prediction

npm status

A simple match prediction code based on the club coefficient.

Usage

Simply pass the params for teams:

var scores = matchResultPrediction({
  homeTeamCoef: 0.91,
  awayTeamCoef: 0.75,
  drawMax: 3,
  winMax: 5
});

Params

  • homeTeamCoef - Home team coefficient. Float in range from 0 to 1
  • awayTeamCoef - Away team coefficient. Float in range from 0 to 1
  • drawMax - When randomly draw is selected, this will be maximum value of a draw score
  • winMax - When randomly win is selected, this will be maximum value of winning team

Installation

npm i match-result-prediction

License

MIT-Licensed.

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.0

7 years ago