/    Sign up×
Community /Pin to ProfileBookmark

creating tournament brackets?

does anyone know how to code a bracket for like tournament use? i wanna make my own tournaments

to post a comment
HTML

16 Comments(s)

Copy linkTweet thisAlerts:
@bathurst_guyFeb 22.2006 — a bracket? I don't understand what you want?
Copy linkTweet thisAlerts:
@bigtommy911authorFeb 22.2006 — u know what tournament brackets look like

i wanna make one for my page for pool league...u know
----------


-
----------



-------------

----------

-
----------



there lol like that
Copy linkTweet thisAlerts:
@bathurst_guyFeb 22.2006 — Sorry I still don't understand. I might leave it up to someone else to help you out.
Copy linkTweet thisAlerts:
@bigtommy911authorFeb 22.2006 — have u not seen a tournament bracket?? like mens final 4 tournament?
Copy linkTweet thisAlerts:
@bathurst_guyFeb 22.2006 — does [url=http://www.bracketmaker.com/]this site[/url] help you out?
Copy linkTweet thisAlerts:
@NogDogFeb 22.2006 — Eh, he's in Australia. They're not getting ready for "March Madness" there. ? (B_G: we're talking about single-elimination tournament pairings, such as at the Australian Open tennis tournament: 32 pairings, the winners play in 16 pairings, those winners in 8 pairings, etc. down to the finals. The NCAA college basketball tournament is always a big deal here in the US, especially for office pools where you get points for picking who the winner will be in each game in the "bracket".)

I tried messing around with creating a CSS bracket last year (no tables) but failed miserably. Maybe I'll try again now that I have another year of CSS experience under my belt.
Copy linkTweet thisAlerts:
@bigtommy911authorFeb 22.2006 — helps yes but id rather have the brackets on my own site
Copy linkTweet thisAlerts:
@bathurst_guyFeb 22.2006 — Ok, I understand now - I just never knew they were called 'brackets', I have always called them a table, although I'm not the athletic type and have never really played in full on tournaments. Well your in good hands now tom with nog so I'll leave you both to it ?
Copy linkTweet thisAlerts:
@bigtommy911authorFeb 22.2006 — nog u ever make table on left margin seperate from the rest of the window?
Copy linkTweet thisAlerts:
@NogDogFeb 22.2006 — Here's a fairly simple table layout for one 16-team region:
[code=html]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang='en'>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=ISO-8859-1'>
<title>Page Title</title>
<!-- link rel='stylesheet' href='style.css' type='text/css' -->
<style type="text/css">
<!--
table {
border-collapse: collapse;
border: none;
font: small arial, helvetica, sans-serif;
}
td {
vertical-align: middle;
width: 10em;
margin: 0;
padding: 0;
}
td p {
border-bottom: solid 1px black;
margin: 0;
padding: 5px 5px 2px 5px;
}
-->
</style>
</head>
<body>
<table summary="Tournament Bracket">
<tr>
<td><p>1. team name</p></td>
<td rowspan="2"><p>team name</p></td>
<td rowspan="4"><p>team name</p></td>
<td rowspan="8"><p>team name</p></td>
<td rowspan="16"><p>team name</p></td>
</tr>
<tr>
<td><p>16. team name</p></td>
</tr>
<tr>
<td><p>8. team name</p></td>
<td rowspan="2"><p>team name</p></td>
</tr>
<tr>
<td><p>9. team name</p></td>
</tr>
<tr>
<td><p>5. team name</p></td>
<td rowspan="2"><p>team name</p></td>
<td rowspan="4"><p>team name</p></td>
</tr>
<tr>
<td><p>12. team name</p></td>
</tr>
<tr>
<td><p>4. team name</p></td>
<td rowspan="2"><p>team name</p></td>
</tr>
<tr>
<td><p>13. team name</p></td>
</tr>
<tr>
<td><p>6. team name</p></td>
<td rowspan="2"><p>team name</p></td>
<td rowspan="4"><p>team name</p></td>
<td rowspan="8"><p>team name</p></td>
</tr>
<tr>
<td><p>11. team name</p></td>
</tr>
<tr>
<td><p>3. team name</p></td>
<td rowspan="2"><p>team name</p></td>
</tr>
<tr>
<td><p>14. team name</p></td>
</tr>
<tr>
<td><p>7. team name</p></td>
<td rowspan="2"><p>team name</p></td>
<td rowspan="4"><p>team name</p></td>
</tr>
<tr>
<td><p>10. team name</p></td>
</tr>
<tr>
<td><p>2. team name</p></td>
<td rowspan="2"><p>team name</p></td>
</tr>
<tr>
<td><p>15. team name</p></td>
</tr>
</table>
</body>
</html>
[/code]
Copy linkTweet thisAlerts:
@bigtommy911authorFeb 22.2006 — thanks for that....darn been out of html for a few years and everything is being converted to css now huh ?? i guess i should learn css lol
Copy linkTweet thisAlerts:
@NogDogFeb 22.2006 — thanks for that....darn been out of html for a few years and everything is being converted to css now huh ?? i guess i should learn css lol[/QUOTE]
Yep. HTML is for defining the meaning. CSS is for defining the appearance.
Copy linkTweet thisAlerts:
@bigtommy911authorFeb 23.2006 — you happen to know how to make a menu bar to left margin seperated from rest of the window? strictly html without css?? i did it before a loong time ago just cant remember anything lol
Copy linkTweet thisAlerts:
@gruntagametAug 01.2008 — this is an old thread, I know, but I have a question that directly relates to it. I am trying to make a bracket similar to these, but distinctly different. Round one seeds look like this (H01 = Competition #1, with three seeds competing for 1st, 2nd, and 3rd)

H01 - 10,26,39

H02 - 09,25,40

H03 - 08,24,41

H04 - 07,23,42

H05 - 06,22,43

H06 - 05,21,44

H07 - 04,20,45

H08 - 01,17,48

H09 - 02,18,47

H10 - 03,19,46

H11 - 11,27,38

H12 - 12,28,37

H13 - 13,29,36

H14 - 14,30,35

H15 - 15,31,34

H16 - 16,32,33

Then 1st place move to Round 3, and 2nd and Third move to Round 2, where the seeds are matched up as follows:

H01 - 01,16

H02 - 02,15

and so on, 8 comps total. My question is fairly simple - how do I figure out the equation that assigns the top seed in Round 2 to seed #1 - meaning, their seed could be 16, but if they are the highest seed inn Round 2, then they occupy the top seed for that round. Confused here.

Thanks
Copy linkTweet thisAlerts:
@ekelmansJun 15.2014 — If you are up for a quick and dirty solution with No CSS or java needed. try this:

https://dl.dropboxusercontent.com/u/43939704/TournamentBrackets.7z

It's just HTML DIV's and a few .png files for the lines (see the 7Z file for pics).


Grtz,

Theo


[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us">
<meta http-equiv="refresh" content="1" >
<head>
<title>Boom16 - dubbele afvalling </title>
</head>
<body>

<!-- Div info -->

<div id="DivInfo" style="position:absolute; top:10px; left:930px; width:300px; height:60px; "><FONT SIZE="10" COLOR="000000">DIVISIE 1</FONT></div>

<!-- Scheiding -->

<div id="Scheiding" style="position:absolute; top:604px; left:0px; width:926px; height:2x; border:2px solid #000; "></div>
<div id="ST1" style="position:absolute; top:585px; left:10px; width:200px; height:60px; "><FONT SIZE="3" COLOR="000000">Normale races<br>Herkansings races</FONT></div>


<!-- Lijnen -->

<div id="H" style="position:absolute; top:606px; left:1132px;width:24px; height:2x; border:2px solid #000; "></div>
<div id="HL2" style="position:absolute; top:315px; left:900px; width:130px; height:260px; background-image: url(Rood1.png); background-size:100% 100%;"></div>
<div id="HL3" style="position:absolute; top:635px; left:900px; width:130px; height:260px; background-image: url(Blauw1.png); background-size:100% 100%;"></div>
<div id="HL4" style="position:absolute; top:145px; left:670px; width:130px; height:110px; background-image: url(Rood1.png); background-size:100% 100%;"></div>
<div id="HL5" style="position:absolute; top:785px; left:670px; width:130px; height:110px; background-image: url(Rood1.png); background-size:100% 100%;"></div>
<div id="HL6" style="position:absolute; top:315px; left:670px; width:130px; height:110px; background-image: url(Blauw1.png); background-size:100% 100%;"></div>
<div id="HL7" style="position:absolute; top:955px; left:670px; width:130px; height:110px; background-image: url(Blauw1.png); background-size:100% 100%;"></div>
<div id="HL8" style="position:absolute; top:75px; left:440px; width:130px; height:40px; background-image: url(Rood1.png); background-size:100% 100%;"></div>
<div id="HL9" style="position:absolute; top:715px; left:440px; width:130px; height:40px; background-image: url(Rood1.png); background-size:100% 100%;"></div>
<div id="HL10" style="position:absolute; top:175px; left:440px; width:130px; height:40px; background-image: url(Blauw1.png); background-size:100% 100%;"></div>
<div id="HL11" style="position:absolute; top:815px; left:440px; width:130px; height:40px; background-image: url(Blauw1.png); background-size:100% 100%;"></div>
<div id="HL12" style="position:absolute; top:355px; left:440px; width:130px; height:40px; background-image: url(Rood1.png); background-size:100% 100%;"></div>
<div id="HL13" style="position:absolute; top:995px; left:440px; width:130px; height:40px; background-image: url(Rood1.png); background-size:100% 100%;"></div>
<div id="HL14" style="position:absolute; top:455px; left:440px; width:130px; height:40px; background-image: url(Blauw1.png); background-size:100% 100%;"></div>
<div id="HL15" style="position:absolute; top:1095px;left:440px; width:130px; height:40px; background-image: url(Blauw1.png); background-size:100% 100%;"></div>

<!-- Blokken -->

<div id="H0" style="position:absolute; top:575px; left:1160px;width:200px; height:60px; border:1px solid #000; "><FONT SIZE="2" COLOR="000000">Flying dutch 1<br>H0 R: 19,11 B: 20,01<br>Brabo TD 1 </FONT></div>
<div id="H1" style="position:absolute; top:575px; left:930px; width:200px; height:60px; border:1px solid #000; "><FONT SIZE="2" COLOR="000000">Flying dutch 1<br>H1 R: 19,11 B: 20,01<br>Brabo TD 1 </FONT></div>
<div id="H2" style="position:absolute; top:255px; left:700px; width:200px; height:60px; border:1px solid #000; "><FONT SIZE="2" COLOR="000000">Flying dutch 1<br>H2 R: 19,11 B: 20,01<br>Brabo TD 1 </FONT></div>
<div id="H3" style="position:absolute; top:895px; left:700px; width:200px; height:60px; border:1px solid #000; "><FONT SIZE="2" COLOR="000000">Flying dutch 1<br>H3 R: 19,11 B: 20,01<br>Brabo TD 1 </FONT></div>
<div id="H4" style="position:absolute; top:115px; left:470px; width:200px; height:60px; border:1px solid #000; "><FONT SIZE="2" COLOR="000000">Flying dutch 1<br>H4 R: 19,11 B: 20,01<br>Brabo TD 1 </FONT></div>
<div id="H5" style="position:absolute; top:755px; left:470px; width:200px; height:60px; border:1px solid #000; "><FONT SIZE="2" COLOR="000000">Flying dutch 1<br>H5 R: 19,11 B: 20,01<br>Brabo TD 1 </FONT></div>
<div id="H6" style="position:absolute; top:395px; left:470px; width:200px; height:60px; border:1px solid #000; "><FONT SIZE="2" COLOR="000000">Flying dutch 1<br>H6 R: 19,11 B: 20,01<br>Brabo TD 1 </FONT></div>
<div id="H7" style="position:absolute; top:1035px;left:470px; width:200px; height:60px; border:1px solid #000; "><FONT SIZE="2" COLOR="000000">Flying dutch 1<br>H7 R: 19,11 B: 20,01<br>Brabo TD 1 </FONT></div>
<div id="H8" style="position:absolute; top:45px ; left:240px; width:200px; height:60px; border:1px solid #000; "><FONT SIZE="2" COLOR="000000">Flying dutch 1<br>H8 R: 19,11 B: 20,01<br>Brabo TD 1 </FONT></div>
<div id="H9" style="position:absolute; top:685px; left:240px; width:200px; height:60px; border:1px solid #000; "><FONT SIZE="2" COLOR="000000">Flying dutch 1<br>H9 R: 19,11 B: 20,01<br>Brabo TD 1 </FONT></div>
<div id="H10" style="position:absolute; top:185px; left:240px; width:200px; height:60px; border:1px solid #000; "><FONT SIZE="2" COLOR="000000">Flying dutch 1<br>H10 R: 19,11 B: 20,01<br>Brabo TD 1 </FONT></div>
<div id="H11" style="position:absolute; top:825px; left:240px; width:200px; height:60px; border:1px solid #000; "><FONT SIZE="2" COLOR="000000">Flying dutch 1<br>H11 R: 19,11 B: 20,01<br>Brabo TD 1 </FONT></div>
<div id="H12" style="position:absolute; top:325px; left:240px; width:200px; height:60px; border:1px solid #000; "><FONT SIZE="2" COLOR="000000">Flying dutch 1<br>H12 R: 19,11 B: 20,01<br>Brabo TD 1 </FONT></div>
<div id="H13" style="position:absolute; top:965px; left:240px; width:200px; height:60px; border:1px solid #000; "><FONT SIZE="2" COLOR="000000">Flying dutch 1<br>H13 R: 19,11 B: 20,01<br>Brabo TD 1 </FONT></div>
<div id="H14" style="position:absolute; top:465px; left:240px; width:200px; height:60px; border:1px solid #000; "><FONT SIZE="2" COLOR="000000">Flying dutch 1<br>H14 R: 19,11 B: 20,01<br>Brabo TD 1 </FONT></div>
<div id="H15" style="position:absolute; top:1105px;left:240px; width:200px; height:60px; border:1px solid #000; "><FONT SIZE="2" COLOR="000000">Flying dutch 1<br>H15 R: 19,11 B: 20,01<br>Brabo TD 1 </FONT></div>


</body>
</html>
[/CODE]
Copy linkTweet thisAlerts:
@jedaisoulJun 15.2014 — @gruntagamet

You will have to explain the meanings of the numbers you have given. I'm guessing that the first column is the higher ranking player, the second is the opponent, but if so: what are the the third and fourth columns???? No that cannot be right, because in the first round the players ranked 11 to 16 play themselves!!! You can't assume that we know the intricacies of tournament organisation. You need to precisely define what the numbers mean, and how the draws work...

As to your actual question, presumably the top seed for the round is the highest ranked seed (or player?) playing in that round. You cannot compute that with HTML. You need to use PHP or JavaScript if you want the system to work out the play pairings in each round. Which means that you have to rigorously describe the rules.
×

Success!

Help @bigtommy911 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 3.3,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,

tipper: Anonymous,
tipped: article
amount: 10 SATS,
)...