使用 jQuery 括号阶段组的系统轮询

system round robin using jquery bracket stage group

提问人:NoGodButAllah 提问时间:9/25/2023 最后编辑:TwistyNoGodButAllah 更新时间:9/25/2023 访问量:22

问:

我需要你的帮助,向我展示任何关于世代循环赛的指南或教程,就像世界杯一样,我需要有 8 个小组和系统,第一场胜利 VS 第二场胜利,还有任何方法可以将所有这些保存在我的数据库中,请指导我,非常感谢您的任何帮助

我只有括号模板:

    <html>
<head>
    <script type="text/javascript" src="https://code.jquery.com/jquery-3.1.1.min.js"></script>      
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-bracket/0.11.1/jquery.bracket.min.js" integrity="sha512-BgJKmxJA3rvUEa00GOdL9BJm5+lu6V7Gx2K0qWDitRi0trcA+kS/VYJuzlqlwGJ0eUeIopW4T9faczsg8hzE/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery-bracket/0.11.1/jquery.bracket.min.css" integrity="sha512-8QbEO8yS//4kwUDxGu/AS49R2nVILw83kYCtgxBYk+Uw0B9S4R0RgSwvhGLwMaZuYzhhR5ZHR9dA2cDgphRTgg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <script>
    $(document).ready(function() {      
        var leftBracket = {
            teams: [
                ["Kansas", "Austin Peay"],
                ["Colorado", "Connecticut"],
                ["Maryland", "South Dakota State"],
                ["California", "Hawaii"],
                ["Arizona", "Wichita State"],
                ["Miami (FL)", "Buffalo"],
                ["Iowa", "Temple"],
                ["Villanova", "UNC Asheville"],
                ["Oregon", "Holy Cross"],
                ["Saint Joseph's", "Cincinnati"],
                ["Baylor", "Yale"],
                ["Duke", "UNC Wilmington"],
                ["Texas", "Northern Iowa"],
                ["Texas A&M", "Green Bay"],
                ["Oregon State", "VCU"],
                ["Oklahoma", "Cal State Bakersfield"]
            ],
            results: [
                [
                    [[105, 79],[67, 74],[79, 74],[66, 77],[55, 65],[79, 72],[72, 70],[86, 56],[91, 52], [78, 76], [75, 79], [93, 85], [72, 75], [92, 65], [67, 75], [82, 68]],
                    [[73, 61],[73, 60],[57, 65],[68, 87],[69, 64],[64, 71],[88, 92],[81, 85]],
                    [[79, 63],[69, 92],[82, 68],[63, 77]],
                    [[59, 64],[68, 80]],
                    [[1,2]]
                ]
            ]
        };



        $(function() {
            $('div#leftBracket').bracket({
                init: leftBracket,
                skipConsolationRound: true,
            });

    
        })          
    });

    </script>
</head>
<body>
    <div id="leftBracket" >   </div>
 
</body>
jquery jquery 插件

评论

0赞 Twisty 9/25/2023
欢迎使用 Stack Overflow。您是否查看了文档: aropupu.fi/bracket 它似乎涵盖了您讨论的所有内容。你的代码中现在有什么特别的东西在起作用吗?
0赞 NoGodButAllah 10/25/2023
我读过它,但不清楚可以对此有所帮助或向我展示一个完整的例子

答: 暂无答案