Skip to main content

A battle royale for bots.

Project description

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.

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.4.tar.gz (3.5 MB view details)

Uploaded Source

Built Distribution

botroyale-0.1.4-py3-none-any.whl (3.5 MB view details)

Uploaded Python 3

File details

Details for the file botroyale-0.1.4.tar.gz.

File metadata

  • Download URL: botroyale-0.1.4.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

Hashes for botroyale-0.1.4.tar.gz
Algorithm Hash digest
SHA256 55ea1038d770ad32400a918cf037671a3dbc5901b28d0b30ae8f27d2cc30bfca
MD5 dc2b9ac30da246bdb2ec81c17503b2dd
BLAKE2b-256 49885606d482252e1d2c347466e9c375543681564fdc7d93a4348de419cb918a

See more details on using hashes here.

File details

Details for the file botroyale-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: botroyale-0.1.4-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

Hashes for botroyale-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ab9f1a6f9c9713e7e288130e7f3e768646750df790d5b90c44cf94acce49a198
MD5 cf126d93484cbbc1a9265ad9c3d6af48
BLAKE2b-256 e7e231402ac9608ab3bbf0891c28bd7dbac594b415235ae6c03d9c302ec267a1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page