Appendix E. Submitting a bot to the Online Go Server

 

In this appendix, you’ll learn how to deploy a bot to the popular Online Go Server. To do so, you’ll use your bot framework from the first eight chapters of this book to deploy a bot on the cloud-provided Amazon Web Services (AWS) that communicates through the Go Text Protocol (GTP). Make sure to read the first eight chapters to understand the basics of this framework and read up on appendix D for AWS basics.

Registering and activating your bot at OGS

The Online Go Server (OGS) is a popular platform on which you can play Go against other human players and bots. Appendix C showed you a few other Go servers, but we’ve picked OGS for this appendix to demonstrate how to deploy bots. OGS is a modern web-based platform that you can explore at https://online-go.com. To register with OGS, you have to sign up at https://online-go.com/register. If you want to deploy a bot with OGS, you need to create two accounts:

  1. Register an account for yourself as a human player. Pick an available username, password, and optionally enter your email address. You can also register via Google, Facebook, or Twitter. We’ll refer to this account as <human>.
  2. Go back to the registration one more time and register another account. This will act as your bot account, so give it an appropriate name, signifying it as a bot. We’ll call this account <bot> in what follows.

Testing your OGS bot locally

Deploying your OGS bot on AWS