Live Link:-> Check out my live project here!
BPL Dream 11 is a React-based cricket player bidding application inspired by the BPL (Bangladesh Premier League). This app allows users to manage virtual coins, select players, and enjoy a dynamic bidding experience. The application includes a Navbar, Banner, Player Selection Section, Newsletter, and Footer to provide a seamless user experience.
- Displays the user's total coins, starting at 0.
- Dynamically updates as coins are earned or spent.
- Features a banner with a background, heading, and button.
- Clicking the button increases the user's coins, enabling them to buy players.
- Contains toggle buttons to switch between:
- Available Players: Displays all players available for selection.
- Selected Players: Displays the number of selected players, initially 0.
- Each card displays:
- Player Name
- Country
- Role
- Batting/Bowling Style
- Image
- Bidding Price
- Includes a "Choose Player" button to select players.
- Users can select a maximum of 6 players.
- Duplicate player selection is not allowed.
- Selection requires sufficient coins; an alert is shown if coins are insufficient.
- Notifications (powered by React-Toastify) provide feedback for successful or invalid actions.
- Displays all selected players with details:
- Player Name
- Role
- Image
- Bidding Price
- Each card includes a "Remove" button to unselect players.
- Includes an "Add More Players" button to return to the player selection view.
- A well-designed section for users to subscribe to updates.
- Custom footer design to complete the layout.
Player information is stored in a JSON file with the following details:
playerIdnamecountryimagerolebatting/bowling stylebidding price
- Navbar: Displays and updates total coins dynamically.
- Banner Button: Click to increase coins for purchasing players.
- Player Cards: View player details and select players using the "Choose Player" button.
- Selection Rules:
- Ensure sufficient coins to purchase a player.
- Maximum of 6 players allowed.
- Duplicates are prevented.
- Selected Players Section: Manage your team, view details, and remove players if needed.

