Team-Generator
Table of Contents:
Description
Team generator is a sleek App that allows you to enter a list of name and create how many groups you wish in a random fashion.
When names are entered, space between letters counts and it is considerated a separator from one name to another. The programme uses a Fisher-Yates method to shuffle names and then people are distributed evenly to all teams. When it is not possible to have evenly teams the remaining people are distribuited starting from the first team towards the last. The generate button allows to create as many combination as needed and the output can be selected, copied and pasted.
Technologies
- HTML
- CSS
- JavaScript
How to use it
- #1 Enter how many teams you would like to have
- #2 Add the names in the box
- #3 Press the button to generate your teams
- #4 Use the result or press again for another shuffle!
Contributing
Everyone is very welcome to contribute to this repository. Feel free to raise issues or to submit Pull Requests.
References
- Fisher-Yates algorithm https://dev.to/codebubb/how-to-shuffle-an-array-in-javascript-2ikj
License
Licensed under MIT License.