https://github.com/mhslr/nyu-heuristics/tree/master/day12/auction

To run:
In a separate window for each player,
python3 clientrunner.py userstrat.py
python3 auction_server NUMBEROFPLAYERS

Auction game
The auction is held in several rounds, the first player to collect N paintings of the same artist wins. In each round, every player places one bid without knowing others' bids. The maximum bid wins (breaking ties at random). Server-client communicate using JSON.

Objective
Your job is to modify the function compute_bid to best place your bid.

message types
client to server:
info: request current state, or register new player
bid: place a bid
server to client:
info: respond with current state
bid: bid has been placed
wait: client should wait for others
error: something went wrong
done: end of auction, client should exit
messages' content
Messages from the client to the server all specify the message type and the player's name

{"type": "info", "name": "alice"}
{"type": "bid", "name": "bob", "bid": 42}
Refer to sample_info to have an example of sample return value for an info request.


