I did not make this bot, nor made this post all credits go to ???
This is a Hearthstone color bot that takes screenshots of the game window and uses computer vision (sift and color masking) to find playable cards, use the character ability, and to attack with minions.
Download:
How to use:
-Make custom decks that the bot can use and note their number in the list (1-9)
-Start Battle.net or start Hearthstone and start the bot (dist\bbot.exe)
-Select the custom decks that the bot can use with Options->Custom Decks. Green means use the deck, red means do not use the deck.
-Press start, the bot will attempt to start and use the game. It may take a couple of seconds.
-Press stop to stop the bot, it may take a couple of seconds.
The bot takes control of the mouse. If it detects that the user is using the mouse, it will stop and pause for a couple of seconds.
The bot can play simple minions or spells that don't have targeting abilities (such as 'give a minion +1/+1' or'deal 3 damage' or 'silence a minion'). Basically, if the card can be played by right-clicking, dragging, and right-clicking on the minion field, the bot will play it. Otherwise it might get stuck.
If the game resolution is not 16:9 the bot will automatically convert it to 16:9. The recommended resolutions are 1366x768, 1280x720, or 1920x1080. If the monitor resolution or game resolution is changed it is recommended to restart the bot. It is recommended to use the hearthstone client in windowed mode so it can be minimized easily.
The bot will attempt to restart the game if it closes or disconnects.
I test with Windows 7 on a single monitor for now.
Build 3/31/2014