diff options
author | Aineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi> | 2024-02-18 17:24:14 +0200 |
---|---|---|
committer | Aineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi> | 2024-02-18 17:24:14 +0200 |
commit | f8452c313ca78e5f04714331c4a222e8aed53805 (patch) | |
tree | 2bd492d332e5867b6875d560ce97072a27e3523f /src/miinaharava/tests/test_bot.py | |
parent | 5e69623d022ecd747e20ca29e891d221c9ccbbab (diff) |
Bot doesn't need to know cursor coordinates.
Diffstat (limited to 'src/miinaharava/tests/test_bot.py')
-rw-r--r-- | src/miinaharava/tests/test_bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |