Closed

PHP Script For Generating Teams To Compete

This project received 6 bids from talented freelancers with an average bid price of $55 USD / hour.

Get free quotes for a project like this
Employer working
Project Budget
N/A
Total Bids
6
Project Description

This is a very basic website, with a very very basic layout. The majority of the work will be writing a custom php script to generate teams for competitions which is very easy to do and should take little time. This project should take no more than two hours for someone proficient. I haven't made a website in many years or I'd do it myself.

The basic idea is to have users come to the website each day before competition and enter three sets of information. Two of the sets are names and the other is ranking five roles in order of preference from 1 to 5, with 1 being the highest and 5 being the lowest. It gathers this information and saves it by id which is numbered in order of entering. So, the first user to enter will be id=1, second user entering will be id=2, and so on. This saving id number is very important as it is first come first serve for the competition. An admin from the admin area (which is accessed just by a password, which I need ability to change password from a hidden section,) will enter one field of information which is a series of names separated by commas. After entering that, they click the "Generate" button, which will generate teams. The script will then determine the number of teams, the number of teams must be a whole number and each team is composed of five people. After getting the number of teams, the script will go through the id's and split people into roles. There are 5 different roles. Let's suppose X is the number of teams while T, J, M, S, A are roles. It will continue to add users to their #1 preferred role until the limit X for the role is hit, then it will go to their second, if that is filled, third, and so forth. Once T, J, M, S, & A are equal to X.. it will then randomize each user in each role a random team,. For example, each user in role T will be given a random number 1-X with no repeating numbers. The number will then be their team number. Matchups will be Team 1 vs Team 2, Team 3 vs Team 4, and so on. It will then take the names provided by the admin and assign each one a matchup. There are times when number of names provided will be less than matchups.. in that event it will need to display 'TBA'

After this, it will display the information on the home page with the date. It will also take the first name each user entered and display them all on the Attendance page.

There will be one more page which is simply usernames and url links which is a static page.

I have made examples of each page via Paint program. It does not look the best, but conveys the idea behind each page that I want and how I want it made. It is extremely simplistic in design. I can provide all images once you message for further discussion

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online