Skip to content

Commit

Permalink
Fix ai
Browse files Browse the repository at this point in the history
  • Loading branch information
taslimisina committed Feb 14, 2020
1 parent b1b026e commit cc93f9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AI.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def pick(self, world):

# it is called every turn for doing process during the game
def turn(self, world):
print("turn started: " + str(world.get_current_turn()))
print("turn started:", world.get_current_turn())

myself = world.get_me()
max_ap = world.game_constants.max_ap
Expand Down Expand Up @@ -77,4 +77,4 @@ def turn(self, world):
# scores is a map from int to int which the key is player_id and value is player_score
def end(self, world, scores):
print("end started!")
print("My score: " ,scores[world.get_me().player_id])
print("My score:" ,scores[world.get_me().player_id])

0 comments on commit cc93f9b

Please sign in to comment.