2 of 4 Added comments

Half In

This bot always bids half of what it has left.

class half_in:
  def __init__(self):
    self.money = 0
  def play_round(self, winner, win_amount):
    # Default actions:
    #  Collect 500 dollars
    self.money += 500
    #  If it was the winner: subtract the win_amount from his money
    if winner == 0:
      self.money -= win_amount

    # Bid half what it has left:
    return self.money / 2

I never program in Python, so if you see any mistakes let me know..