Configuration Objects¶
A battle in RoyaleGym is built from a few parts, and each one is an object you can swap. You set
them up in build_env in your quickstart.py. Change one, train again, and see what your bot does
differently.
-
How each battle starts: the decks, evolutions and heroes, or a start partway through.
-
What the bot sees after every step: the arena, its hand, the elixir and the clock.
-
The moves the bot can make, which card where, and which ones are legal right now.
-
What the bot is paid for. The bot learns whatever makes this number big.
-
When a battle ends, and the difference between ending and being cut short.
-
Who sits in the other seat: a scripted bot, a bot you wrote, or your own bot.
-
Watch a battle live while it trains, or open a saved one later.
The How It Fits Together page shows how they meet in one step.