From f8452c313ca78e5f04714331c4a222e8aed53805 Mon Sep 17 00:00:00 2001 From: Aineopintojen-harjoitustyo-Algoritmit-j Date: Sun, 18 Feb 2024 17:24:14 +0200 Subject: Bot doesn't need to know cursor coordinates. --- src/miinaharava/tests/test_bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/miinaharava/tests') diff --git a/src/miinaharava/tests/test_bot.py b/src/miinaharava/tests/test_bot.py index 4dab148..435151f 100644 --- a/src/miinaharava/tests/test_bot.py +++ b/src/miinaharava/tests/test_bot.py @@ -26,7 +26,7 @@ class TestBotClass(unittest.TestCase): tested = set() while True: - action, x, y = bot.hint(brd.get_view(), 0, 0) + action, x, y = bot.hint(brd.get_view()) if (x,y) in tested: break tested.add((x,y)) -- cgit v1.2.3