Skip to content

AlexJurik/team-generator

Repository files navigation

Advanced Team Generator

A JavaScript application that allows you to enter player manually or by importing Excel file and generate balanced teams based on player coefficients.

Problem solved

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.

Features

  • 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.

Demo

You can try out the application live here: https://teambalancing.com

Usage

  1. 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.

  2. Enter the number of teams you want to create. Click the "Generate Teams" button. Teams will be generated based on player coefficients.

step1.png step2.png

gif1.gif

Technologies Used

  • HTML
  • CSS (Bootstrap for styling)
  • JavaScript
  • xlsx library for Excel file handling

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please create a new issue or submit a pull request if you have any suggestions, feature requests, or bug reports.

Author

Alexander jurik - https://bento.me/alex-jurik

Contact

If you have any questions or feedback, feel free to contact me at aleks.jurik(at)gmail.com.

Support

  • Give a ⭐️ if you like this project!
  • Also, your feedback is much appreciated!
  • If you found this app helpful and would like to support me, you can buy me a coffee.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published