Bid: factored out code from Player.js #28