Get action: ref data
Last updated
Last updated
Reference data is data that doesn't change throughout the game, but is needed for the bot to calculate its actions.
In a word game like Wordle where the bot needs to guess a 5 letter word, the bot needs to know a list of all 5 letter words. Here is ref_data.json for Wordle. The proto schema for it is:
The bot can access ref_data by:
This game has a more complex example of ref_data.json. This map does not change throughout the game. A bot needs to know which areas are connected to determine what actions it should take.