Go Back   CodingForums.com > Web Projects and Services Marketplace > Web Projects > Small projects (quick fixes and changes)

Notices

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average.
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-08-2008, 05:00 PM   PM User | #1
nxzmplty
New Coder

 
Join Date: Jan 2008
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
nxzmplty is an unknown quantity at this point
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.

Code:
|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.
nxzmplty is offline   Reply With Quote
Old 01-08-2008, 11:48 PM   PM User | #2
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,530
Thanks: 0
Thanked 503 Times in 494 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
Populating the entries from the database can'r be done with JavaScript. Which server side language are you using to do that part?
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
felgall is offline   Reply With Quote
Old 01-09-2008, 11:59 AM   PM User | #3
nxzmplty
New Coder

 
Join Date: Jan 2008
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
nxzmplty is an unknown quantity at this point
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.
nxzmplty is offline   Reply With Quote
Old 01-22-2008, 10:38 AM   PM User | #4
Ashin
New to the CF scene

 
Join Date: Jan 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Ashin is an unknown quantity at this point
is this still open?
Ashin is offline   Reply With Quote
Old 03-04-2008, 09:10 PM   PM User | #5
wkheathjr
New Coder

 
Join Date: Jul 2006
Posts: 14
Thanks: 3
Thanked 0 Times in 0 Posts
wkheathjr is an unknown quantity at this point
hehehe

Look at what I finally finished developing myself..

http://www.predictthebracket.com

100% 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).

Last edited by wkheathjr; 03-04-2008 at 09:15 PM..
wkheathjr is offline   Reply With Quote
Old 03-04-2008, 10:17 PM   PM User | #6
Fumigator
UE Antagonizer


 
Fumigator's Avatar
 
Join Date: Dec 2005
Location: Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
Posts: 7,687
Thanks: 42
Thanked 637 Times in 625 Posts
Fumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of light
Have you considered the legality of a gambling site? Just curious.
__________________
Fumigator is offline   Reply With Quote
Old 03-08-2008, 04:12 PM   PM User | #7
wkheathjr
New Coder

 
Join Date: Jul 2006
Posts: 14
Thanks: 3
Thanked 0 Times in 0 Posts
wkheathjr is an unknown quantity at this point
Quote:
Originally Posted by Fumigator View Post
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??
wkheathjr is offline   Reply With Quote
Old 03-08-2008, 04:35 PM   PM User | #8
Fumigator
UE Antagonizer


 
Fumigator's Avatar
 
Join Date: Dec 2005
Location: Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
Posts: 7,687
Thanks: 42
Thanked 637 Times in 625 Posts
Fumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of light
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.
__________________
Fumigator is offline   Reply With Quote
Old 03-09-2008, 04:34 PM   PM User | #9
wkheathjr
New Coder

 
Join Date: Jul 2006
Posts: 14
Thanks: 3
Thanked 0 Times in 0 Posts
wkheathjr is an unknown quantity at this point
Quote:
Originally Posted by Fumigator View Post
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..
wkheathjr is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:07 AM.


Advertisement
Log in to turn off these ads.