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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: botroyale-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 9872479d447892aa5b08ab5e2ee6901a9c767ad6427ef684ff435b7f75d0746b
MD5 442d1c3957af5a525f9ab322dfbbe8f4
BLAKE2b-256 3ee24c24fc627b63bd6b825e3ae8013079920357a14efffa9c24dea1da33fd3a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: botroyale-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7a53a587c3791a1a2690b025b8584d558dce1d195b87dfdca5c661662be580c7
MD5 993283fd0c85265782298d65eb150fcd
BLAKE2b-256 2fce53bccadc28395475fefed5ce6db26cd27b88e892f2dc77717ad554b238c9

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