Auction System - User Manual
Welcome to the Auction System! This user manual will guide you through using the application. The system allows you to add players, teams, and run an auction for players.
Features Overview
- Add Player Section: Allows you to add players to the auction pool.
- Add Team Section: Lets you add teams with a defined budget.
- Players List: Displays all the players available for bidding.
- Teams Section: Shows all teams along with their budget and purchased players.
- Current Auction Section: Displays the player being auctioned and allows teams to place bids.
- Timer: Keeps track of the time remaining in the auction for each player.
- Reports: Generates downloadable reports on player purchases.
User Guide
1. Adding a Player
To add a new player to the auction:
- Name: Enter the player’s name.
- Category: Select the player’s category (Batsman, Bowler, or Allrounder).
- Base Price: Enter the base price of the player.
- Player Image (Optional): Upload an image of the player.
Features Overview
- Add Player Section: Allows you to add players to the auction pool.
- Add Team Section: Lets you add teams with a defined budget.
- Players List: Displays all the players available for bidding.
- Teams Section: Shows all teams along with their budget and purchased players.
- Current Auction Section: Displays the player being auctioned and allows teams to place bids.
- Timer: Keeps track of the time remaining in the auction for each player.
- Reports: Generates downloadable reports on player purchases.
User Guide
1. Adding a Player
To add a new player to the auction:
- Name: Enter the player’s name.
- Category: Select the player’s category (Batsman, Bowler, or Allrounder).
- Base Price: Enter the base price of the player.
- Player Image (Optional): Upload an image of the player (optional).
Click Add Player to submit the form. The player will be added to the auction pool and will appear in the Players List section.
2. Adding a Team
To add a new team:
- Team Name: Enter the name of the team.
- Team Budget: Enter the initial budget for the team.
- Team Logo (Optional): Upload a logo for the team (optional).
Click Add Team to submit the form. The new team will be displayed in the Teams Section, showing the team name, budget, and logo (if added).
3. Viewing Players
The Players List will show all players available for auction. Each player’s name, category, and base price will be listed. If an image was uploaded, it will be displayed next to the player's details.
4. Viewing Teams
The Teams Section shows each team with:
- Team Name
- Team Budget: The remaining budget of the team.
- Purchased Players: List of players that the team has purchased.
5. Starting the Auction
To start the auction, click the Start Auction button. This will:
- Start the auction for the first player.
- Begin the countdown timer (set to 30 seconds per auction).
- Display the Current Auction section with player details.
- Hide the Start Auction button and display the Close Auction button.
6. Auctioning a Player
When a player is being auctioned, teams will be given the option to place a bid. To place a bid:
- Click on the Bid for Team button to place a bid.
- Enter the bid amount (which must be greater than or equal to the base price).
- If a team places a bid, it will be recorded.
The auction will continue until all teams have placed bids or the timer runs out.
7. Finalizing the Auction
Once the timer runs out or all teams have placed their bids, the auction for the current player will end:
- The team with the highest bid wins the player and the bid amount is deducted from their budget.
- The player is added to the team's roster, and the purchased player will appear in the Teams Section.
The auction will then move on to the next player automatically.
8. Closing the Auction Early
If you wish to close the auction before all players are auctioned, click the Close Auction button. This will end the auction early.
9. Resetting Auction Data
To reset the auction data and start fresh:
- Click the Reset Auction Data button.
- This will clear the players, teams, and auction data from local storage.
- A confirmation prompt will appear to ensure that you want to reset the auction data.
10. Generating Reports
You can generate two types of reports:
- Team-Wise Player List: Shows each team and their players.
- Who Bought Whom at Price: Lists which team bought each player and at what price.
To download a report:
- Click the Download Team-Wise Player List or Download Who Bought Whom at Price buttons.
- The reports will be generated in PDF format and automatically downloaded.
Troubleshooting
1. Player or Team Not Displaying
Ensure all fields are filled in the Add Player or Add Team forms. Also, ensure JavaScript is enabled in your browser.
2. Cannot Place a Bid
Check that the bid amount is greater than or equal to the player's Base Price and that your team has enough budget to place the bid.
3. Auction Not Starting
Ensure that there are players and teams in the system before starting the auction.