rspeer / golem

Chrome extension for counting points in dominion on dominion.isotropic.org.
5 stars 0 forks source link

Golem

What do you get when you merge together

You get a Dominion bot.

Some very related code

Another crucial component for a Dominion bot is a simulator for what actually happens when you play cards. I started developing it here, but then moved it into a separate project: http://github.com/rspeer/dominiate

The name

When you take a robot and make it Dominion-themed, you get a Golem.

So what does it do?

The core of Golem is a function that evaluates a game state, containing its deck, an opponent's deck, and the supply, and returns a positive or negative value representing that deck's ability to win. Much of what it does so far is serving a JSON API for this.

It can also hook into the Dominion Point Counter in a kind of flaky way to become a semi-bot that suggests what to buy.