pyBegin / projects / blind-auction-2
🎮

Blind Auction

A console blind-auction game. Each bidder enters a name and a secret bid; once bidding ends, the program announces the highest bidder.

42 linesRunnable

Blind Auction

A console blind-auction game. Each bidder enters a name and a secret bid; once bidding ends, the program announces the highest bidder.

Example

Welcome to Blind Auction
Enter your name: Alice
Enter your bidding amount: 250
Are there any other bidders? Type 'yes' or 'no': yes
Continue bidding
Enter your name: Bob
Enter your bidding amount: 400
Are there any other bidders? Type 'yes' or 'no': yes
Continue bidding
Enter your name: Carol
Enter your bidding amount: 310
Are there any other bidders? Type 'yes' or 'no': no
The winner is Bob with the highest bid of 400.

How to run on localhost

python main.py

Dependencies

Standard library only (art.py is a local module containing ASCII art).