A battle royale for bots.
Project description
Bot Royale
A battle royale for bots. Write your own bots in Python and watch them play!
Quickstart
It is recommended to use a virtual environment. Once activated, install using:
pip install botroyale
It takes as few as 7 lines of code to write your own bot and watch it play:
import botroyale as br
class MyBot(br.BaseBot):
NAME = 'mybot'
def poll_action(self, state):
return br.Idle() # Add bot logic here
br.register_bot(MyBot)
br.run_gui()
Guides and Documentation
Browse the docs for guides and API reference to learn more.
Community
Join us in the community discord server.
Contributing
Browse the contribution guide.
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
botroyale-0.1.3.tar.gz
(3.5 MB
view details)
Built Distribution
File details
Details for the file botroyale-0.1.3.tar.gz
.
File metadata
- Download URL: botroyale-0.1.3.tar.gz
- Upload date:
- Size: 3.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a06fb492cd53f85bda6ad1a2e478a984645d3ee5dd8dd2e03431e343c72594c |
|
MD5 | 0be217c3d951f9f6bc4481e5d2bed15d |
|
BLAKE2b-256 | fa3bd9063522c13aad65c17a2e5fc74d657da65a6da7442fc75d4de9e8d088fc |
File details
Details for the file botroyale-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: botroyale-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 770b7e4bcec3b53774b473b768f47ba11c3d5dd42d66f8b7e5e832b4301f9447 |
|
MD5 | 09703b5f4e7c0ac473abd19a5d82a6ce |
|
BLAKE2b-256 | 3c2e13b981aeeabde0d7d6a87bdf68b0bddc0c18bc462439daed55f4380ffdc7 |