Helpful Information
 
 
Category: Small projects (quick fixes and changes)
Javascript Sports Bracket

1) Project Details: (be as specific as possible):
Its a sports bracket written for speed and ease-of-use in JavaScript. I'm sure you know what that is, if not, look below.

2) Payment Amount:
Maximum $60, lowest offer accepted.

3) Payment method/ details (Paypal, check? Timeline?):
PayPal

4) Additional Info (about project or potential bidders):

A sports bracket for knock-out stages of a competition.


|Team 1| |Team 2| |Team 3| |Team 4|
|Team 8| |Team 7| |Team 6| |Team 5|
| | | |
----|Team 2|----- -----|Team 3|----
|Team 8| |Team 5|
| |
------------| Team 2 |-----------
| Team 5 |

Team 1 and Team 8 are both separate <li> elements in a <ul> tag. Team 2 and Team 7 are both separate <li> elements, in a <ul> tag, and so on.

Clicking on a team would produce a winner, for example, Clicking on Team 8 (Team 1 vs Team 8) would send them to the next row:

Again, select two winners from these.

And finally select a tournament winner.

A "Done" submit button will follow this entire bracket. Clicking on a team will forward them to the next stage, clicking on the losing team in a previous stage will replace the previously selected winner, and put the new team in place.

I am looking for the Javascript to this solution, and for the previous example, clicking "Done" would submit via HTML form ONE string of data in the form:

R0(Team1,Team8,Team2,Team7,Team3,Team6,Team4,Team5),R1(Team8,Team2,Team3,Team5),R2(Team2,Team5),R3(T eam2)

The application :
* must follow the html tag requirements as shown above.
* must display the empty rounds (finals, semi-finals, etc) even if no data has been submitted yet.
* must allow any number of rounds and/or teams/participants.
* must allow for a user to load previous data from the database, automatically filling in the tree. The data from the database, if any, will be calculated BEFORE the tree is displayed - and can be in whatever (within reason) form that you like.
* Assume that the team names 'Team1' etc will be used.
* must operate from a simple link-clicking system. No checkboxes, radio buttons, or using page-refreshes.

This application must be demonstrated to me via MSN Messenger/e-mail or a contact method of your choice BEFORE completion.

I will install this code myself, you will not have access to my database.

I'm on a budget of $60 for this project, and this is not the only place I have it listed.
However, feel free to offer lower or tell me if I'm out of my mind expecting this for $60.

I can only pay via PayPal.

Have a good day.

Populating the entries from the database can'r be done with JavaScript. Which server side language are you using to do that part?

PHP. I guess I didn't explain it too well.

I want the Javascript to parse output given by the PHP/MySQL (If any) in the form of R0(...)R1(...) etc, and populate the bracket this way

I want the Javascript to submit one string of data to the PHP via a simple html form, in the same format.

is this still open?

hehehe

Look at what I finally finished developing myself..

http://www.predictthebracket.com

100&#37; NO javascript!! Pure PHP Code!

Edit: Oh yeah, I should add $99 or less wouldn't be worth the job unless it is for 12 teams or less bracket. The website I have, I started out with 65 teams for Men NCAA Bracket and it will allow me to move Opening Round game anywhere in the Regional bracket. From this point, I was able to use the concept for smaller bracket. In additional to that, I had to hire two professional coder to assist me in couple of code because it was too advance for me, a beginner, to write. So I am just saying $99 or less not worth it unless you do it yourself with some help...

I have thought about selling the code, but the concern is that long hours of learning and working on it only to see it get copied scared me... so I am still indecisive on this.... but if I were to do that, I would wait until I have completed all other game scripts like Fantasy, Suicide, Pick Em, Collect Em, etc. So far, I also have Collect Em, Pick Em, and Suicide (written by a friend of mine who is a coder so I am not going to distribute it without sharing it with him therefore need his permission).

Have you considered the legality of a gambling site? Just curious.

Have you considered the legality of a gambling site? Just curious.

I really don't think that the government will make a big issue out of this as long as majority of the jackpot goes toward the winner, 2nd place, 3rd place, etc. The more people playing, the more positions there will be to get prizes just like a lottery. Most of casino sites that offer bracket site guarantee $1 Million to winner who predict a perfect corrected winners. We don't offer that. Also, Casino site doesn't give the cash directly and instead, they offer $25,000 in chips to play at their casino.

Other thing is that it is actually unlawful to sell raffle tickets for fund-raising purpose. Many schools and churches still do that and you want to explain this to me if they have considered the legality of selling raffle ticket?? I believe that the law was made only if you intend to take the money and run away with it then law can use this law on criminals.

Ultimately, who is our government to tell us how we want to spend our money, right? I will be damned if our government doesn't think we should spend money by gambling for fun! It's only $15 for a year for god's sake! Whatever happened to USA being a free country??

Whether or not you are morally justified, that's no defense for running an illegal gambling site. It's not like I'm going to turn you in or anything... and I may even agree with you on principle... but you may want to consider dropping the money aspect of the site and just running the brackets for fun. Sure, you won't make any money, but you won't spend 10 years in federal prison either.

Whether or not you are morally justified, that's no defense for running an illegal gambling site. It's not like I'm going to turn you in or anything... and I may even agree with you on principle... but you may want to consider dropping the money aspect of the site and just running the brackets for fun. Sure, you won't make any money, but you won't spend 10 years in federal prison either.

Yes, I understand your point of view... and appreciate your being consideration.. I'll chance it until we have good size of players before notifying them of the situation..










privacy (GDPR)