Skip to main content
# basic example

```
from agario_bot.bot import BotClient
b = BotClient('botname', speed_rate=1)

b = BotClient('prettygoo', wait_rate=0.1)
surroundings = b.get_visible_surroundings()

while True:
b.move_left()
surroundings = b.get_visible_surroundings()
print(surroundings['cells'])
print(surroundings['food'])
print(surroundings['mass'])
b.move_up()
surroundings = b.get_visible_surroundings()
print(surroundings['cells'])
print(surroundings['food'])
print(surroundings['mass'])
b.move_right()
surroundings = b.get_visible_surroundings()
print(surroundings['cells'])
print(surroundings['food'])
print(surroundings['mass'])
b.move_down()
surroundings = b.get_visible_surroundings()
print(surroundings['cells'])
print(surroundings['food'])
print(surroundings['mass'])


```
# where
- speed_rate - time to execute movement, 1 - one second
- wait_rate - time to wait before server response on client emitted socket
- cells - players
- mass - will be removed

Metadata

Release files for agario-bot 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agario-bot 0.5.1
File Size Uploaded
agario-bot-0.5.1.tar.gz 2.3 kB Details

Release files / agario-bot-0.5.1.tar.gz

Download URL agario-bot-0.5.1.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
583e65cb1cf056f669fd0491a26dc7baca58e892dc7bf1432302488acff573fb
BLAKE2b-256 checksum
How to use checksums
12eba57f1ac3a71ed6f85583adedb29e84538d2d46bf239a6e6e412c0e3a9e2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.7

1 release file

0.6

1 release file

This release

0.5.1 This release

1 release file

0.5

1 release file

0.4

1 release file

0.3

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page