🎮

Blind Auction

Python42 lines· A console blind-auction game. Each bidder enters a name and a secret bid; once bidding ends, the program announces the highest bidder.
Original project by @yogesh78026 — view source on GitHub
Ready when you are
README· what to build

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).

blind-auction-2.py· Python 3.x
59 lines
Console· terminal