Challenge: create a winning bot for this kingdom on my
simulator. All entries will be matched against each other. If a bot has a higher win rate than another bot it will receive 1 point, otherwise 0. The bot with the most points wins the challenge.
Entries should be sent to me in PM with the code-tags. Please add some text in the description to tell me what the bot does. You have 1 week so last entries should be sent before thursday 30 june.
Getting started: the simulator already has a built in bot called "Peasant/Vineyard" that should be a good starting point. To make bots buy Events, just add them in the buy rules like you would any other card. To upgrade the Travellers also add them to the buy rules or add restrictions so they don't upgrade too far (eg you probably only want 1 Teacher). Adding tokens with Teacher is a bit tricky: for instance:
buy Teacher
-if isPlusOneCardTokenSet(Magpie) = 0
-if isPlusOneBuyTokenSet(Herald) = 0
This means the bot will only upgrade to Teacher if none of the tokens have been placed. It also means it will put the +1Card token first (it's first in the list) and will put it on Magpie.
as you probably know, the simulator is a bit of an idiot and will make mistakes playing cards in the wrong order or not at all. Consider this an added feature of the challenge