summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorSpitfireX <timm.weber@me.com>2015-08-12 19:07:48 +0200
committerSpitfireX <timm.weber@me.com>2015-08-12 19:07:48 +0200
commitf3033fffd2a8ab1f0f6d7724c904cd83fc96b8ac (patch)
treea99f8972568c2ae90e1a3d028ba0a00b3a79ae1b /main.py
parentc8fd1bf7c0fd68a976689767fa10c9e7bbc08ca8 (diff)
merge conflict fixed
Diffstat (limited to 'main.py')
-rw-r--r--main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.py b/main.py
index d747869..ee053ea 100644
--- a/main.py
+++ b/main.py
@@ -37,7 +37,7 @@ c.player.nick="test cell pls ignore"
gui.set_client(c)
# initialize strategy
-strategy = Strategy()
+strategy = Strategy(c)
# main loop
while True:
@@ -46,7 +46,7 @@ while True:
gui.draw_frame()
if len(list(c.player.own_cells)) > 0:
- target = strategy.process_frame(c)
+ target = strategy.process_frame()
if gui.bot_input:
c.send_target(target[0], target[1])