JSneak / Brackets_for_Non_Powers_of_2

Create a tournament bracket with any number of people

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Brackets_for_Non_Powers_of_2

View a live demo here


Built a bracket diagram with automatic promotion as results are entered interactively and is capable of creating non-powers of 2 tournaments.

Most open source tournament generators are only capable of creating tournaments with powers of 2 or require Node.js. However, by creating a binary tree and utilizing breadth first search, I was able to create tournament brackets that will have players playing 1 more or less game.

I utilized gojs to visualize and make the bracket interactive.


If you want to change the number of people in a bracket, simply add or delete names from the playerList array.

About

Create a tournament bracket with any number of people

License:MIT License


Languages

Language:JavaScript 73.2%Language:HTML 26.8%