Skip to content

ArielHorwitz/botroyale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.