After completing one set of the below instructions for registering an agent and restarting your server, your bot should be available to select in the match start dropdown, and it should be playable.
Simply provide an agent name and run path to a program that takes a dealer host name and port number, in that order, in bots/bots.rb
under all the game definitions that your agent can play.
This method allows greater freedom on how and what arguments are provided to your agent, but it takes a few extra steps and requires some knowledge of Ruby:
- Copy the Ruby class
bots/run_testing_bot.rb
and rename itbots/run_your_agent.rb
, whereyour_agent
is the name of your bot. Open this file and customize its contents for your agent. - Add an entry for your class to
bots/bots.rb
as described in that file.