Connecting your bot to the server

Registering on the server

Before connecting your bot to the server, you’ll need to register on the server. You can do this through the server’s website, or by using one of the built in scripts.

If the registration is successful, you will receive an email from neurips_rbc_comp@listserv.jhuapl.edu about confirming your email. Click the link included in the email to verify your email.

Website registration

Visit https://rbc.jhuapl.edu/register to register.

Command Line registration

Use the built in script rc-register:

rc-register --help
rc-register
rc-register --username <username> --email <email> --affiliation <affiliation> --password <password>

This script will prompt you for the username, email, affiliation, and password after you run it, or you can specify them with command line arguments.

Use the --help flag for more information about the arguments.

Connecting to the server

python

Use the built in script rc-connect to connect to the server and let your bot play games:

rc-connect --help
rc-connect <bot path>
rc-connect reconchess.bots.random_bot
rc-connect src/my_awesome_bot.py

Use the --help flag for more information about the arguments.

This script will prompt you for your username and password after you run it, or you can specify the username and password with command line arguments.

$ rc-connect src/my_awesome_bot.py
Username: my_awesome_bot
Password: ...
[<time>] Connected successfully to server!
$ rc-connect src/my_awesome_bot.py --username my_awesome_bot --password ...
[<time>] Connected successfully to server!

Other languages

If you are not using python or not using the reconchess package, you will need to implement logic to handle talking to the server. This is done through a RESTful HTTP API, and should be straightforward to implement.

See the HTTP API page for more information

If this applies to you please send us an email at neurips_rbc_comp@listserv.jhuapl.edu for help.