Get action

The Get Action function is what a user will code up, which dictates how the bot will run.

The function takes game state and api as inputs. The game state describes the state of the world. The API object contains helpful methods to make coding easier.

The function should return an action object, which is the action the bot wishes to perform on its turn.

Last updated