Chrome extension for counting points in dominion on dominion.isotropic.org.
JavaScript CoffeeScript Python Shell
Switch branches/tags
Nothing to show
Pull request Compare This branch is 91 commits ahead, 94 commits behind drheld:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
server
train
.gitignore
INSTALL.txt
README.md
background.html
background.js
card_list.js
debugger.js
dominion.js
golemclient.coffee
interaction-notes.txt
jquery.js
login.js
manifest.json
options.js

README.md

Golem

What do you get when you merge together

  • drheld's Dominion extension for Chrome
  • councilroom.com and its 750,000 analyzed games
  • and the awesome machine learning in Vowpal Wabbit?

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.