[null,null,["最后更新时间 (UTC):2024-12-21。"],[[["This script automates the creation of a single-elimination tournament bracket for up to 64 players or teams in Google Sheets."],["It uses the Spreadsheet service to get player data and generate the bracket diagram on a separate sheet."],["Users need a Google Account and web browser to utilize this tool, and can set it up by making a copy of the provided spreadsheet and running the script from the custom menu."],["The script randomly assigns players to the bracket, ensuring each spot is filled, and accommodates byes for an uneven number of participants."]]],["This script automates the creation of a single-elimination tournament bracket for up to 64 players. Utilizing the Spreadsheet service, it determines the necessary rounds, formats the \"Bracket\" sheet to display a tree diagram, and populates the first round with player names from the \"Players\" sheet. A custom menu, \"Bracket maker\", allows the user to trigger the `createBracket` function, which generates the bracket after obtaining user authorization. The code then uses loops to manage player distribution and bracket formatting.\n"]]