def run_auction(host, ports, numbidders, neededtowin, itemtypes, numitems, auction_size, budget, values, announce_order, winner_pays): auctionroom = AuctionServer(host=host, ports=ports, numbidders=numbidders, neededtowin=neededtowin, itemtypes=itemtypes, numitems=numitems, auction_size=auction_size, budget=budget, values=values, announce_order=announce_order, winner_pays=winner_pays) auctionroom.announce_auction() auctionroom.run_auction()