A JavaScript application that allows you to enter player manually or by importing Excel file and generate balanced teams based on player coefficients.
As an amateur football player, I often play in tournaments with friends. We have to create teams from players who joined tournament and often it takes time to select captains and generate teams. Also this can lead to unbalanced teams and unfair games.
-
Add players manually by filling out inputs in the table.
-
Import Excel File: Upload an Excel file with player data. You can download and edit provided sample file.
-
Generate Teams: Enter the number of teams to generate, and the application will create teams based on player coefficients.
-
You can randomize teams by clicking "Randomize" button.
-
Players are saved in the local storage, so they are not lost when page refreshes.
You can try out the application live here: https://teambalancing.com
-
Enter team players and their coefficients manually or by importing Excel file: Fill out inputs in the table or click the "Import" button and select an Excel file with player information. The application will extract the player data.
-
Enter the number of teams you want to create. Click the "Generate Teams" button. Teams will be generated based on player coefficients.
- HTML
- CSS (Bootstrap for styling)
- JavaScript
- xlsx library for Excel file handling
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please create a new issue or submit a pull request if you have any suggestions, feature requests, or bug reports.
Alexander jurik - https://bento.me/alex-jurik
If you have any questions or feedback, feel free to contact me at aleks.jurik(at)gmail.com.