agar.io python client library
Project description
pyagar is a python client for the popular online game agar.io.
This package allows you to play the game, see the gameplay as an spectator and also play automatically with the auto feature.
Dependencies
In order to run this software you’ll need:
Python 3.4+
SDL2 (you may found it in your distribution as libsdl2)
sdl2_gfx http://cms.ferzkopp.net/index.php/software/13-sdl-gfx
Installation
It is recomended to install this package into a virtualenv.
Stable version
$ pip install pyagar
Usage
Command
This package creates the command pyagar.
$ pyagar --help
usage: pyagar [-h] [--no-visualize] [-n NICK] [--auto] [--debug] [--spectate]
optional arguments:
-h, --help show this help message and exit
--no-visualize
-n NICK, --nick NICK
--auto
--debug
--spectate
Controls
Action |
Control |
---|---|
Move |
Mouse (Relative to the center of the window) |
Start |
Mouse (Left button) |
Eject |
W key |
Split |
Space key |
Play examples
Play setting a custom nick
$ pyagar -n doge
Just watch the game
$ pyagar --spectate
Play automatically using the default bot
$ pyagar --auto
Other implementations
0.0.3
Documenting pyagar module.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyagar-0.0.6.tar.gz
(187.5 kB
view hashes)