Welcome to the Blind Auction! This program allows multiple bidders to participate in an auction anonymously and determines the winner based on the highest bid.
- When prompted, enter your name as a bidder.
- Enter your bid amount.
- Specify whether there are any additional bidders.
- Repeat steps 1-3 for each bidder.
- Once all bidders have entered their details, the program will determine the winner.
- Anonymous bidding: Bidders remain anonymous throughout the auction process.
- Real-time tracking: The program stores each bid and bidder's name for reference.
- Winner determination: The program calculates the highest bid and announces the winner.
This program requires the following dependencies:
- Python 3.x
- Clone this repository to your local machine.
- Ensure that Python 3.x is installed.
- Run the program using a Python interpreter:
python blind_auction.py - Follow the on-screen prompts to participate in the auction.
- Once all bidders have submitted their bids, the winner will be announced.
Welcome to the Blind Auction!
What is your name? John What is your bid? 500 Are there any other bidders? (yes/no) yes
What is your name? Jane What is your bid? 700 Are there any other bidders? (yes/no) no
The winner is Jane with a bid of 700.
The program uses ASCII art for visual appeal. The art is stored in a separate file named art.py. Make sure to keep this file in the same directory as the program for proper execution.
The program utilizes a nested data structure to store the bids. Each bid is stored as a dictionary within a list. This was to test my knowledge and understanding of the different data structures with a higher complexity
Good luck with your bidding!