Skip to content

trumae/simvolei

Repository files navigation

MIT license Build Status

Motivation

In a talk with my oldest son, I wanted to show how much the details are important in the volleyball games. Then i made an little test using a simple monte carlo simulation.

Features

  • Monte-Carlo simulation
  • Based only on single point probability

How it works

Based on probability of each team do only one point, an entire game was simulated n times.

Examples

50% team1 / 50% team2

➜  build git:(master) ✗ ./simvolei 0.5 100000
[##################################################] 100% 0.818s
Done! 49817  50183

51% team1 / 49% team2

➜  build git:(master) ✗ ./simvolei 0.51 100000
[##################################################] 100% 0.82s
Done! 60127  39873

55% team1 / 45% team2

➜  build git:(master) ✗ ./simvolei 0.55 100000
[##################################################] 100% 0.744s
Done! 90229  9771

About

simple volleyball scoreboard simulator

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published