Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 1.52 KB

File metadata and controls

21 lines (12 loc) · 1.52 KB

Tracks Hearthstone games you play and rates your cards relative to your opponents.

Building

The current version assumes you're already generating power.log, which you are if you already have a tracker installed. If you've never installed a tracker, the easiest way to get this working is to install one. HSTeamPlay should be able to find your power.log file whether you're on Windows or Mac, but I'm on Windows and haven't tested it on Mac. If you find a problem, feel free to send a pull request.

To build, install Go, then:

  • Clone this repo to $GOROOT/github.com/frogstack/HSTeamPlay/
  • Run go get github.com/ChrisHines/GoSkills/skills
  • Run go build in $GOROOT/github.com/frogstack/HSTeamPlay/

Go will generate the HSTeamPlay executable that you can run from a command line.

Usage

With no arguments, HSTeamPlay will read your power.log line by line, look for games you're playing, rate each player's cards, and save them to a DB. Leave it running while you play and it will figure things out.

To show the ratings for a set of cards, run HSTeamPlay --rate=<cards.txt>. Card names must be in the format friendly/DRUID/Living Mana or opponent/WARRIOR/Patches The Pirate. HSTeamPlay will show ratings for the cards and exit.

To reset the ratings for a set of cards, run HSTeamPlay --reset=<cards.txt>. Card names must be in the format friendly/DRUID/Living Mana or opponent/WARRIOR/Patches The Pirate. HSTeamPlay will reset the ratings for all cards in the file with no warning and then exit. Hope you were sure.