Skip to main content

Bot Royale

A battle royale for bots. Write your own bots in Python and watch them play!

Preview GIF

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.

Metadata

Release files for botroyale 0.1.4

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

Source distribution (sdist)

Source distribution for botroyale 0.1.4
File Size Uploaded Provenance Actions
botroyale-0.1.4.tar.gz 3.5 MB Without provenance Details for botroyale-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for botroyale 0.1.4
File Interpreter ABI Platform Actions
botroyale-0.1.4-py3-none-any.whl Python 3 none any Details for botroyale-0.1.4-py3-none-any.whl

Total release size: 7.1 MB

Release files / botroyale-0.1.4.tar.gz

Download URL botroyale-0.1.4.tar.gz
Size 3.5 MB
Tags Source
SHA-256 checksum
How to use checksums
55ea1038d770ad32400a918cf037671a3dbc5901b28d0b30ae8f27d2cc30bfca
BLAKE2b-256 checksum
How to use checksums
49885606d482252e1d2c347466e9c375543681564fdc7d93a4348de419cb918a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / botroyale-0.1.4-py3-none-any.whl

Download URL botroyale-0.1.4-py3-none-any.whl
Size 3.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
ab9f1a6f9c9713e7e288130e7f3e768646750df790d5b90c44cf94acce49a198
BLAKE2b-256 checksum
How to use checksums
e7e231402ac9608ab3bbf0891c28bd7dbac594b415235ae6c03d9c302ec267a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Security for botroyale 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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