Skip to content

joemaddalone/js-Round-Robin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm install robiner

  • r = round
  • a = participant a
  • b = participant b
robiner(3);
[
  {
    "r": 1,
    "a": 0,
    "b": null
  },
  {
    "r": 1,
    "a": 1,
    "b": 2
  },
  {
    "r": 2,
    "a": 0,
    "b": 2
  },
  {
    "r": 2,
    "a": null,
    "b": 1
  },
  {
    "r": 3,
    "a": 0,
    "b": 1
  },
  {
    "r": 3,
    "a": 2,
    "b": null
  }
]

About

Generates a series of events in which each team plays each other the same number of times

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published