Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,18 @@ The current version assumes you're already generating power.log, which you are i

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/`
* Clone this repo to `$GOROOT/src/github.com/frogstack/HSTeamPlay/`
* Run `go get github.com/ChrisHines/GoSkills/skills`. If this does not work, clone it to `$GOROOT/src/github.com/ChrisHines/GoSkills/skills/`
* Run `go build` in `$GOROOT/src/github.com/frogstack/HSTeamPlay/`

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

Note: HSTeamPlay tries to locate your Hearthstone install path automatically, if that fails, you can set the path manually in main.go like this: `programfiles := "C:/Path/to/your/Hearthstone/"`.

## 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 **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. You can find an example cards.txt for a Pirate Warrior deck in the source.

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.
17 changes: 17 additions & 0 deletions cards.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
friendly/WARRIOR/N'Zoth's First Mate
friendly/WARRIOR/Patches the Pirate
friendly/WARRIOR/Southsea Deckhand
friendly/WARRIOR/Upgrade!
friendly/WARRIOR/Bloodsail Raider
friendly/WARRIOR/Fiery War Axe
friendly/WARRIOR/Heroic Strike
friendly/WARRIOR/Bloodsail Cultist
friendly/WARRIOR/Frothing Berserker
friendly/WARRIOR/Southsea Captain
friendly/WARRIOR/Dread Corsair
friendly/WARRIOR/Kor'kron Elite
friendly/WARRIOR/Mortal Strike
friendly/WARRIOR/Naga Corsair
friendly/WARRIOR/Spellbreaker
friendly/WARRIOR/Arcanite Reaper
friendly/WARRIOR/Leeroy Jenkins