Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/m/e/Megaminer-7-HEAD/client/python/AI.py   Megaminer-7(Download)
 
    #if you have enough gold to buy a pirate
    if self.pirateCost() < self.players[self.playerID()].getGold():
      #find a port you own
      for p in self.ports: