如何在c#中制作单个淘汰锦标赛抽奖表 [英] how to make a single elimination tournament draw sheet in c#

查看:81
本文介绍了如何在c#中制作单个淘汰锦标赛抽奖表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨EveryBody,



我想在c#中创建一个跆拳道锦标赛赛程。我不明白如何创建它。



我从来没有这样做过,在谷歌搜索后找不到更多东西。请帮我制作这样的装置



http://upload.wikimedia.org/wikipedia/commons/thumb/9/9d/Mitbat-2007-bracket- large.png / 1024px-Mitbat-2007-bracket-large.png



请指导我如何使用非圆形和团队的球员创建夹具。



喜欢锦标赛支架制作软件。



谢谢

Ram Kumar

Hi EveryBody,

I want to create a Taekwondo tournament fixtures in c#. I am not understand how to create it.

I never do like this and after searching in google no more stuff found. Please help me to make fixtures like this

http://upload.wikimedia.org/wikipedia/commons/thumb/9/9d/Mitbat-2007-bracket-large.png/1024px-Mitbat-2007-bracket-large.png

Please guide me how to create fixture with players not round and team.

Like tournament bracket builder software.

Thanks
Ram Kumar

推荐答案

理论上并没有那么复杂:它只是一个配对组并将结果传递到下一个阶段的情况。这是困难的。



从正确的数据结构开始:我可能有一个匹配类或控件,它接受两个输入,并且结果并让它自己绘制:



It's not that complicated in theory: it just a case of pairing up groups and passing the result through to the next stage. It's drawing it that's difficult bit.

Start with getting the data structures right: I'd probably have a "match" class or control which took two inputs, and had a result and get it to draw itself:

Name1 --
        --- 
Name2 --

然后在比赛的每个阶段都有一个比赛列表。



或者......你可以看看这个: http://www.tourneylogic.com/ [ ^ ]

它适用于网站,但它可能会给你一些想法。

Then have a list of Matches for each stage of the competition.

Or...you could have a look at this: http://www.tourneylogic.com/[^]
It's for website, but it might give you some ideas.


这篇关于如何在c#中制作单个淘汰锦标赛抽奖表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆