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
botroyale-0.1.4.tar.gz 3.5 MB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

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