What is Quackstrat?

Quackstrat is a programming and strategy competition based on the board game Quacks of Quedlinburg. The board game is a deck-building push-your-luck game for up to 4 players with a lot of potential for competing strategies. It is played over 9 rounds.

The objective of the competition is to design a strategy that performs best when pitted against all other entries in a tournament. The simulator is written in the Gleam programming language, so a little knowledge of this language - or at least the basics of functional programming - is required.

Each player is a charlatan (or "quack"), and each round they pull ingredient chips randomly from their bag and place them into their potion, until either they choose to stop or their potion explodes. There are various types of ingredient, each with different effects - potions explode when the total value of white chips (Cherry Bombs) in the potion exceeds 7, so each pull involves a calculation of risk. At the end of the round, players may buy new ingredients with the coins they earned during the round; or score victory points; or both if they stopped before their potion exploded. The more chips in the potion, the higher the rewards. Ingredients are kept, and shuffled, between rounds.

For the full rule booklet, see the PDF linked on the publisher's website. There are other game mechanics that are not explained here.

How to Compete

TODO: link to simulator repo
TODO: instructions for submitting (unlisted repos?)

To compete in Quackstrat, you will implement the following high-level strategic decisions.

Pick a Chip

Should the player pull another ingredient chip from their bag?

Use the Flask

Should the player use their flask immediately after pulling a white chip (Cherry Bomb)?

Ruby Actions

At the end of the round, should the player use rubies to advance their droplet or refill their flask?

Take Points or Buy Ingredients

When the player's potion explodes, should they score victory points or buy ingredients?

Buy Ingredients

Given the number of coins scored in a round, which ingredient chips should be bought?

Crow Skull Selection

When the player pulls a blue chip (Crow Skull), which additional chip should they select?

Take Chip Action

Should the player perform a chip action when it is offered?

Notes on Balance

It is difficult to balance a simulated game of imperfect information such as Quacks. Games between humans are balanced because it is implausible to memorise the contents of all opponents' ingredient bags, but this is trivial for a computer program to do, so a compromise needs to be reached in the application design.

In this implementation, players are provided the following information where relevant:

Thus it is feasible to store information important to your own strategy, such as "how many Hawk Moths have my neighbours purchased?" while discouraging the approach of tracking the full game state.

Implementation Details

Some decisions have been made to limit the complexity of the simulator and strategy implementations. My apologies if you are a Quacks pro and this rules out your favourite ingredients.

FAQs

  1. Can I use an AI coding agent / LLM?

    I recommend building a completely human-powered submission first. Once you're happy with it, feel free to see if Claude can do better, but you must declare if a submission has had assistance from an AI tool - whether that's strategy discussion or direct code help.

  2. Can I submit multiple different strategies?

    Yes, in fact you are encouraged to do so. If you have multiple working strategies, you can test them against each other and improve their performance against smarter opponents.

  3. I need help deciding what strategy to implement

    Play the real game! Either at home, on Tabletopia, or at a board game cafe.

  4. I need help with an implementation question

    Try emailing at quackstrat @ this domain and someone might respond. No promises.

  5. When do submissions open / when is the deadline?

    Not yet / not yet.

  6. What will the tournament format be and how does scoring work?

    TBD.